FermiInTheAir.GameObjects.GameObject.Move C# (CSharp) Метод

Move() публичный Метод

public Move ( ) : void
Результат void
        public virtual void Move()
        {
            this.UpLeftCorner.X++;

            //this may be must check in collision metod
            if (UpLeftCorner.X >= 40 - Height)
            {
                this.HaveCollision = true;
                this.UpLeftCorner.X--;
            }
        }