Пример #1
0
        public Missile(Game game) : base(game)
        {
            LifeTimer = new Timer(game);
            Explosion = new Explode(game);

            LoadContent();
        }
Пример #2
0
 public Player(Game game, GameLogic gameLogic) : base(game)
 {
     GameLogicRef       = gameLogic;
     OreCollected       = new Numbers(game);
     Score              = new Numbers(game);
     Health             = new Numbers(game);
     ChestCollected     = new Numbers(game);
     MissilesLeft       = new Numbers(game);
     OreText            = new Words(game);
     ScoreText          = new Words(game);
     HealthText         = new Words(game);
     ChestCollectedText = new Words(game);
     MissilesLeftText   = new Words(game);
     Flame              = new Mod(game);
     BaseRadar          = new Mod(game);
     DockTimer          = new Timer(game);
     ThrustTimer        = new Timer(game);
     HealthBar          = new List <Mod>();
     Explosion          = new Explode(game);
     Missiles           = new List <Missile>();
     MissileBar         = new List <Mod>();
 }
Пример #3
0
 public Shot(Game game) : base(game)
 {
     LifeTimer = new Timer(game);
     Explosion = new Explode(game);
 }