public void Initialize() { gui = OnGuiManager.instance; game = GameManager.instance; centerX = gui.GetCenterX(); centerY = gui.GetCenterY(); }
public void Initialize() { game = GameManager.instance; gui = OnGuiManager.instance; scoreManager = HighScoreManager.instance; centerX = gui.GetCenterX(); centerY = gui.GetCenterY(); playerName = ""; }
public void Initialize() { gui = OnGuiManager.instance; game = GameManager.instance; // get screen center coordinates centerX = gui.GetCenterX(); centerY = gui.GetCenterY(); }
public void Initialize() { game = GameManager.instance; gui = OnGuiManager.instance; guiCenterX = gui.GetCenterX(); guiCenterY = gui.GetCenterY(); guiWidth = gui.GetWidth(); helpPosition = new Rect(guiCenterX-350, 920, 650, 40); notePosition = new Rect(guiCenterX-350, guiCenterY-60, 700, 40); treasureNotePosition = new Rect(guiCenterX-350, 300, 700, 40); gunInfoPosition = new Rect(20,920,330,500); grenadeInfoPosition = new Rect(guiWidth-300,1010,300,20); //health & armor bar position and size healtBackPosition = new Rect(20,20,364,58); armorBackPosition = new Rect(26,63,352,8); dragonBackPosition = new Rect(guiCenterX-185,20,369,55); }