示例#1
0
        public override void LoadContent(ContentManager Content)
        {
            GUI = new GUI(Content);

            EnemyHealthbar = Content.Load<Texture2D>("GUI/EnemyHealthbar");
        }
示例#2
0
        public override void Initialize()
        {
            Towers = new List<Tower>();
            Enemies = new List<Enemy>();

            waveManager = new WaveManager();

            MaxHealth = 100;
            CurHealth = MaxHealth;
            Gold = 150;

            CurrentMouseAction = MouseAction.None;

            GUI = new GUI(GarrettTowerDefense.StaticContent);
        }