engine now call input and animate in game objects