summaryrefslogtreecommitdiff
path: root/src/creature.cpp
diff options
context:
space:
mode:
authorTom Barrett <tombarrett@cornell.engr.siu.edu>2015-05-06 14:03:33 -0500
committerTom Barrett <tombarrett@cornell.engr.siu.edu>2015-05-06 14:03:33 -0500
commite91f0c208605f27d2ba9e2a9c584c92212ab0088 (patch)
treeb352e62e57c9375fc38bfab17e36a459200c2f65 /src/creature.cpp
parenta67acef63379f9fd9f5bd983b70a81c50c544eda (diff)
made list vector not get infinitly big
Diffstat (limited to 'src/creature.cpp')
-rw-r--r--src/creature.cpp10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/creature.cpp b/src/creature.cpp
index 2e5e1ab..9d50291 100644
--- a/src/creature.cpp
+++ b/src/creature.cpp
@@ -20,13 +20,13 @@ Creature::Creature(Window m, std::string s)
void Creature::Behavior()
{
hp--;
- //Detection
+ //Detection
- //Priorities
+ //Priorities
- //Action
- this->Action();
+ //Action
+ this->Action();
}
void Creature::Action()
@@ -76,8 +76,6 @@ void Creature::Action()
}
}
-
-
/*
else
{