Inheritance: Gears.Playable.Player
Esempio n. 1
0
        private void Register()
        {
            Player[] _p = new Player[1];
            Player p1 = new RAPlayer(ENEMY_STARTING_LOCATION, Color.Azure, 0.0f/*, ENEMY_IMAGE_ORIGIN*/);//****
            _p[0] = p1;

            um = new JoeZoneUnitManager();

            base.Register(um);//register should allow a vector or linked list (or IEnumerable) for all manager types.
        }
Esempio n. 2
0
        private void Register()
        {
            Player[] _p = new Player[1];
            Player   p1 = new RAPlayer(ENEMY_STARTING_LOCATION, Color.Azure, 0.0f /*, ENEMY_IMAGE_ORIGIN*/);//****

            _p[0] = p1;

            um = new JoeZoneUnitManager();

            base.Register(um);//register should allow a vector or linked list (or IEnumerable) for all manager types.
        }
Esempio n. 3
0
        private void Register()
        {
            RAPlayer[] _p = new RAPlayer[1];
            RAPlayer p1 = new RAPlayer(PLAYER_STARTING_LOCATION, Color.Azure, 0.0f/*, PLAYER_IMAGE_ORIGIN*/);//****
            _p[0] = p1;

            pmTEST = new RAPlayerManager(_p);
            um = new Zone1UnitManager();
            hud = new HUDManager(_levelData);

            _DM = new DebugManager();

            base.RegisterManager(_DM);
            base.RegisterManager(pmTEST);
            base.RegisterManager(hud);
            base.RegisterManager(um);

            _DM.CoupleUnitManager(um);
        }
Esempio n. 4
0
        private void Register()
        {
            RAPlayer[] _p = new RAPlayer[1];
            RAPlayer   p1 = new RAPlayer(PLAYER_STARTING_LOCATION, Color.Azure, 0.0f /*, PLAYER_IMAGE_ORIGIN*/);//****

            _p[0] = p1;

            pmTEST = new RAPlayerManager(_p);
            um     = new Zone1UnitManager();
            hud    = new HUDManager(_levelData);

            _DM = new DebugManager();

            base.RegisterManager(_DM);
            base.RegisterManager(pmTEST);
            base.RegisterManager(hud);
            base.RegisterManager(um);

            _DM.CoupleUnitManager(um);
        }
Esempio n. 5
0
        private void Register()
        {
            RAPlayer[] _p = new RAPlayer[1];
            RAPlayer p1 = new RAPlayer(PLAYER_STARTING_LOCATION, Color.Azure, 0.0f/*, PLAYER_IMAGE_ORIGIN*/);//****
            _p[0] = p1;

            pmTEST = new RAPlayerManager(_p);
            um = new Zone1UnitManager();
            hud = new HUDManager(_levelData);

            _DM = new DebugManager();

            base.RegisterManager(_DM);
            base.RegisterManager(pmTEST);
            base.RegisterManager(hud);
            base.RegisterManager(um);

            _DM.CoupleUnitManager(um);

            //base.RegisterPlayerManager(pmTEST);
            //base.Register(um);//register should allow a vector or linked list (or IEnumerable) for all manager types.
        }