示例#1
0
        public override void Load(ContentManager content)
        {
            powerUps   = Serializing.LoadPowerUps();
            powerUpImg = new ImageController(Screen, "GameStuff/PowerUps", 120, false);
            powerUpImg.FrameRectangle = new Rectangle(0, 0, 50, 50);
            powerUpImg.OriginDefault  = new Vector2(25, 25);
            //powerUpImg.FramesPerRow = 5;
            powerUpImg.ScaleDefault = 0;
            AddController(powerUpImg);

            generateTimeToNext();
        }