ScrollingShooter.RightGun.ScrollWithMap C# (CSharp) Méthode

ScrollWithMap() public méthode

Scrolls the object with the map
public ScrollWithMap ( float elapsedTime ) : void
elapsedTime float The in-game time between the previous and current frame
Résultat void
        public override void ScrollWithMap(float elapsedTime)
        {
            position.Y += ship.ScrollingSpeed * elapsedTime;
        }