Exemplo n.º 1
0
 public Team(team_t teamColor, player_type_t playerType, string bannerPath)
 {
     IsActive       = false;
     Color          = teamColor;
     PlayerType     = playerType;
     BannerPath     = bannerPath;
     ActorList      = new LinkedList <AnimalActor>();
     CameraPosition = new Vector2(0, 0);
 }
Exemplo n.º 2
0
 public TeamState(Game engine, GUILabel guiLabel, team_t color, string bannerPath, player_type_t type = player_type_t.None)
 {
     gameEngine = engine;
     GuiLabel   = guiLabel;
     GuiLabel.mouseClickEvent += updateType;
     TeamVal = new Team(color, type, bannerPath);
 }