Exemplo n.º 1
0
 public override void Load(ContentManager cm)
 {
     Bread   = SafeImage.Get("Minigames\\LunchBreak\\Bread");
     Goodies = new Image[] { SafeImage.Get("Minigames\\LunchBreak\\Lettuce"), SafeImage.Get("Minigames\\LunchBreak\\Meat"), SafeImage.Get("Minigames\\LunchBreak\\Cheese"), SafeImage.Get("Minigames\\LunchBreak\\Tomato") };
     Spider  = SafeImage.Get("Minigames\\LunchBreak\\Spider");
     font    = TextureManager.getFont("GenericMenu");
 }
Exemplo n.º 2
0
        public override void Load(ContentManager cm)
        {
            sheetSprite = new Image("Minigames\\HotBeat\\musicSheet");
            boxSprite   = SafeImage.Get("Minigames\\HotBeat\\box");

            buttonSprites = new Dictionary <ControllerButton, Image>();
            buttonSprites.Add(ControllerButton.A, new Image("ControllerImages\\A"));
            buttonSprites.Add(ControllerButton.B, new Image("ControllerImages\\B"));
            buttonSprites.Add(ControllerButton.X, new Image("ControllerImages\\X"));
            buttonSprites.Add(ControllerButton.Y, new Image("ControllerImages\\Y"));

            myFont = TextureManager.getFont("Minigames\\HotBeat\\myfont");
        }