summaryrefslogtreecommitdiff
path: root/inc/creature.hpp
diff options
context:
space:
mode:
authormajortom6 <tombarrett@siu.edu>2017-02-25 12:42:41 -0600
committerTom Barrett <tombarrett@siu.edu>2017-03-07 13:23:41 -0600
commitd10f3df359cbccd1d7ee13b7981fee575a90637f (patch)
treec6faefd9c6f24663b0ae4bdee505d6456e8208a1 /inc/creature.hpp
parent86fba51a32de6528cead5fdf24846d1e0540cad9 (diff)
-began refractoring src
-reduced area creatures and resources spawn -everything should be on 8 spaces now -reorganized creatures action function to make more logical sense -stripped out unused parts of geoshader and spritebatch
Diffstat (limited to 'inc/creature.hpp')
-rw-r--r--inc/creature.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/inc/creature.hpp b/inc/creature.hpp
index 01f6557..f9cb979 100644
--- a/inc/creature.hpp
+++ b/inc/creature.hpp
@@ -12,15 +12,15 @@
class Creature: public Entity
{
public:
- Creature(Rectangle t, DNA D);
+ Creature(Rectangle r, DNA d);
void Behavior();
void Action();
void Priority();
void setTarget();
void checkTarget();
- void moveTowards(Rectangle t);
- void impregnate(DNA D);
+ void moveTowards(Rectangle r);
+ void impregnate(DNA d);
void giveNearMe(std::list<Entity*> n){nearMe = {std::begin(n),std::end(n)};};
DNA getDNA(){return myDNA;};