Ejemplo n.º 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;
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 4
0
 public List <GridCell> getCells()
 {
     return(GridCell.cloneList(cells));
 }
Ejemplo n.º 5
0
 // Constructor
 public Belief_Terrain(int type, List <GridCell> cells)
     : base(type)
 {
     this.type  = type;
     this.cells = GridCell.cloneList(cells);
 }