Exemplo n.º 1
0
 public Territories(string key, TerritoryCategory category, IContext context) : base(key, context, null)
 {
     this.category = category;
     AddChild(new Territory("territory0", category, context));
 }
        public Territory(string key, TerritoryCategory category, IContext context, IModel parent = null) : base(key, context, parent)
        {
            this.category = category;

            tanks = new Tanks("tanks", category.tank, context, this);
        }