private void CreateObjects() { catalog = new Catalog(scene); hud = new HUD(scene, Content); room = new Room(scene, 200, 200); room.Initialize(); wand = new Wand(scene, graphics.GraphicsDevice, catalog, room); wand.setSelectCrosshair(Content.Load <Texture2D>("crosshairs/crosshairnormal")); wand.setPlaceCrosshair(Content.Load <Texture2D>("crosshairs/crosshairplace")); wand.setManipulateCrosshair(Content.Load <Texture2D>("crosshairs/crosshairmanip")); wand.setInvalidActionCrosshair(Content.Load <Texture2D>("crosshairs/actionDisabled")); wand.setDeleteConfirmationModal(Content.Load <Texture2D>("hud/deleteConfirmationModal")); wand.Hud = hud; }
private void CreateObjects() { catalog = new Catalog(scene); hud = new HUD(scene, Content); room = new Room(scene, 200, 200); room.Initialize(); wand = new Wand(scene, graphics.GraphicsDevice, catalog, room); wand.setSelectCrosshair(Content.Load<Texture2D>("crosshairs/crosshairnormal")); wand.setPlaceCrosshair(Content.Load<Texture2D>("crosshairs/crosshairplace")); wand.setManipulateCrosshair(Content.Load<Texture2D>("crosshairs/crosshairmanip")); wand.setInvalidActionCrosshair(Content.Load<Texture2D>("crosshairs/actionDisabled")); wand.setDeleteConfirmationModal(Content.Load<Texture2D>("hud/deleteConfirmationModal")); wand.Hud = hud; }