Exemple #1
0
        public virtual void setupPunters(int punterIds)
        {
            {
                int _g1 = 0;
                int _g  = punterIds;
                while ((_g1 < _g))
                {
                    int i  = _g1++;
                    int id = global::game._PunterId.PunterId_Impl_._new(i);
                    {
                        global::haxe.IMap <int, object> this1 = this.punters;
                        global::game.Punter             v     = new global::game.Punter(this, id);
                        ((global::haxe.ds.IntMap <object>)(global::haxe.ds.IntMap <object> .__hx_cast <object>(((global::haxe.ds.IntMap)(this1))))).@set(id, v);
                    }
                }
            }

            this.punterCount = punterIds;
        }
Exemple #2
0
 public static void __hx_ctor_game_Punter(global::game.Punter __hx_this, global::game.Game game1, int id)
 {
     __hx_this.game            = game1;
     __hx_this.id              = id;
     __hx_this.accessableSites = new global::haxe.ds.IntMap <object>();
 }