Пример #1
0
        public void Update()
        {
            //direction = inputreader.ReadInput(CanLeft, CanRight);

            //MoveHorizontal(direction);


            if (direction != Vector2.Zero)
            {
                animatie.Update();
            }

            collisionrectangle.X = (int)Position.X;
            collisionrectangle.Y = (int)Position.Y;
            CollisionRectangle   = collisionrectangle;
        }
Пример #2
0
 public void Update()
 {
     animatie.Update();
 }