예제 #1
0
        public GTA2Game(string mapName, string styleName)
        {
            map = new Map.Map(mapName, styleName);
            map.CalcCoord();

            _physics = new Physics();
            _physics.Initialize(map);

            sprites = new Sprites();
            GameObject.spriteAtlas = sprites;
            pedList = new List <Pedestrian>();
            pedList.Add(new Pedestrian(new Vector3(65, 180, 5)));
        }
예제 #2
0
        public GTA2Game(string mapName, string styleName)
        {
            map = new Map.Map(mapName, styleName);
            map.CalcCoord();

            _physics = new Physics();
            _physics.Initialize(map);

            sprites = new Sprites();
            GameObject.spriteAtlas = sprites;
            pedList = new List<Pedestrian>();
            pedList.Add(new Pedestrian(new Vector3(65, 180, 5)));

        }
예제 #3
0
파일: GTA2Game.cs 프로젝트: jpires/gta2net
        public GTA2Game(string mapName, string styleName)
        {
            map = new Map.Map(mapName, styleName);
            map.CalcCoord();

            _physics = new WorldSimulation(map);

            sprites = new Sprites();
            GameObject.spriteAtlas = sprites;
            pedList = new List<Pedestrian>();
            Pedestrian ped = new Pedestrian(new Vector3(65, 178, 5));
            pedList.Add(ped);
            _physics.AddPed(ped);

            debugDraw = false;
        }
예제 #4
0
파일: GTA2Game.cs 프로젝트: jpires/gta2net
        public GTA2Game(string mapName, string styleName)
        {
            map = new Map.Map(mapName, styleName);
            map.CalcCoord();

            _physics = new WorldSimulation(map);

            sprites = new Sprites();
            GameObject.spriteAtlas = sprites;
            pedList = new List <Pedestrian>();
            Pedestrian ped = new Pedestrian(new Vector3(65, 178, 5));

            pedList.Add(ped);
            _physics.AddPed(ped);

            debugDraw = false;
        }