예제 #1
0
        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;
        }
예제 #2
0
        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;
        }