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; }
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"); }
public Collision(ManagerMap managerMap) { _managerMap = managerMap; }