示例#1
0
文件: Octorok.cs 项目: Uhha/Zelda
 public Octorok(BaseObject player,Texture2D bulletTexture, ManagerMap map, int cooldown = 1000 )
 {
     _player = player;
     _bullets = new List<OctorokBullet>();
     _cooldown = cooldown;
     _counter = 0;
     _bulletTexture = bulletTexture;
     _map = map;
 }
示例#2
0
文件: Game1.cs 项目: Uhha/Zelda
 public Game1()
 {
     graphics = new GraphicsDeviceManager(this);
     this.IsMouseVisible = true;
     Content.RootDirectory = "Content";
     this.graphics.PreferredBackBufferHeight = 240;
     this.graphics.PreferredBackBufferWidth = 320;
     _player = new BaseObject();
     _testNPC = new BaseObject();
     _testEnemy = new BaseObject();
     _managerInput = new ManagerInput();
     _managerMap = new ManagerMap("test");
 }
示例#3
0
文件: Collision.cs 项目: Uhha/Zelda
 public Collision(ManagerMap managerMap)
 {
     _managerMap = managerMap;
 }