1
General / How to create a simple Enemy class?
« on: September 04, 2011, 01:39:56 pm »
Hey i'm a complete beginner to SFML as you've probably guessed however i've read through most of the tutorial and wanted to create a class which can handle my entity's such as Enemies.
In my enemies class i would like it to be able to update for its logic and draw and stuff but i really can't figure out how it would look. If anyone could help that'd be awesome.
Basicly - How would a class which handles something like an Enemy look like?
In my enemies class i would like it to be able to update for its logic and draw and stuff but i really can't figure out how it would look. If anyone could help that'd be awesome.
Basicly - How would a class which handles something like an Enemy look like?