Firefighter better animations added
This commit is contained in:
@ -106,10 +106,16 @@ public:
|
||||
// printf("No animations\n");
|
||||
// }
|
||||
// Play("idle");
|
||||
}
|
||||
Animation Idle = Animation(0,2,100);
|
||||
animations.emplace("Idle", Idle);
|
||||
Animation idle = Animation(0,3,100);
|
||||
animations.emplace("Idle", idle);
|
||||
Animation walk = Animation(1,3,100);
|
||||
animations.emplace("Walk", walk);
|
||||
Animation jump = Animation(2,1,100);
|
||||
animations.emplace("Jump", jump);
|
||||
Animation fall = Animation(2,2,100);
|
||||
animations.emplace("Fall",fall);
|
||||
Play("Idle");
|
||||
}
|
||||
setTex(id);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user