Server.GameObject.updatePosition C# (CSharp) Méthode

updatePosition() public méthode

updatePosition() updates the GameObjects position based off of its current speed.
At this time, function is not called. In the future, this method might handle all movement for the GameObjects
public updatePosition ( ) : void
Résultat void
        public virtual void updatePosition()
        {
            x += speedX;
            y += speedY;
        }