示例#1
0
        public GameState(Map map, SpriteBatch sb, GraphicsDeviceManager graphics)
        {
            _spriteBatch = sb;
            _graphics = graphics;
            cameraPosition = new Vector2(0, -480);
            _map = map;
            _player = new Player(_map);

            _projectiles = new List<Projectile>();
            _enemies = new List<Enemy>();
            _enemies.Add( new Zombie( new Vector2(2,2) ) );
        }
示例#2
0
文件: Tile.cs 项目: Gilnaa/NotMario
 public virtual void OnPlayerCollide(Player p)
 {
 }