예제 #1
0
 // Constructor
 public Belief_Base(int id, List <GridCell> cells, float supplies)
     : base(id)
 {
     this.id       = id;
     this.cells    = GridCell.cloneList(cells);
     this.supplies = supplies;
 }
예제 #2
0
 // Constructor
 public Belief_Village(int id, List <GridCell> cells, float supplies, float casualties)
     : base(id)
 {
     this.id         = id;
     this.cells      = GridCell.cloneList(cells);
     this.supplies   = supplies;
     this.casualties = casualties;
 }
예제 #3
0
 // Constructor
 public Belief_NGOSite(int id, List <GridCell> cells, float supplies, float casualties, float civilians)
     : base(id)
 {
     this.id         = id;
     this.cells      = GridCell.cloneList(cells);
     this.supplies   = supplies;
     this.casualties = casualties;
     this.civilians  = civilians;
 }
예제 #4
0
 public List <GridCell> getCells()
 {
     return(GridCell.cloneList(cells));
 }
예제 #5
0
 // Constructor
 public Belief_Terrain(int type, List <GridCell> cells)
     : base(type)
 {
     this.type  = type;
     this.cells = GridCell.cloneList(cells);
 }