Ignore:
Timestamp:
2013-07-28 23:40:27 (6 years ago)
Author:
dezhidki
Message:

Lisätty vihollisen kunikaan elämäpalkki

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 2013/30/DenisZ/CastleMaster/CastleMaster/CastleMaster/Game.cs

    r4749 r4751  
    8989        private Camera camera; 
    9090        private LevelForest level; 
    91         private Player[] players; 
     91        private static Player[] players; 
    9292        private static GuiManager guiManager; 
    9393        private GuiDebug debugScreen; 
     
    222222        } 
    223223 
     224        public static Player GetEnemyPlayer(Player player) 
     225        { 
     226            return player.Team == TEAM1 ? players[1] : players[0]; 
     227        } 
     228 
    224229        protected override void LoadContent() 
    225230        { 
Note: See TracChangeset for help on using the changeset viewer.