Exemplo n.º 1
0
        public MarioFireball(Vector2 position, Vector2 direction) :base(SprintFourGame.GetInstance())
        {
           
            ++Fireballs;
            Position = position;

            Velocity = direction;
            Velocity.Normalize();
            Velocity *= Utility.FIREBALL_SPEED;

            sprite = new MarioFireballSprite();
            lifeRemaining = Utility.FIREBALL_LIFE;
        }
Exemplo n.º 2
0
 public Cursor() {
     sprite = new MarioFireballSprite();
     Choice = Utility.LEVEL_SELECT_ORIGINAL_CHOICE;
     ChoiceSelected = false;
     position = new Vector2(Utility.CURSOR_X_VALUE, Utility.ORIGINAL_CHOICE_Y_VALUE + Utility.CURSOR_Y_OFFSET);
 }