73
66
if (ycol) {velocity.y = 0;}
82
69
//Scene::GetCamera()->position = position;
85
72
Creature::Creature() : Entity(),
90
77
sprite = new SpriteAnimation("creature.png", FILTER_NONE, 64, 64);
91
78
sprite->Add("idle", 0, 0, 0.35f);
92
sprite->Add("move", 1, 2, 4.0f);
105
87
//set aiTime to random so creatures tick at different times