Skip to content

flitzcore/Ant-OOP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Ant-OOP

Project about ant with ability to roam around

Please note that this code will require graphics.h directory

This contains only one class, the ant class. This class can renders 'ant' in the windows, and sets the movement of the ants. When summons, ant will roams randomly. When this class created, user can assign the spawn point of the ant. This class has some function:

#Constructor: set the spawn point and first target

#SetNewPoint(): set new target

#Process(): move the ant

#Draw(): draw the ant on the windows

About

Project about ant with ability to roam around

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages