Exemplo n.º 1
0
 public ControlPoint()
 {
     Level             = new Level.Level(LevelWidth, LevelHeight);
     Algorithms        = new Generation.AlgorithmComboBoxValues();
     GameObjectFactory = new Generation.GameObjectFactory();
     MethodFactory     = new Generation.MethodFactory();
     Generator         = new Generation.Generator();
 }
Exemplo n.º 2
0
 public ControlPoint()
 {
     Level = new Level.Level(LevelWidth, LevelHeight);
     Algorithms = new Generation.AlgorithmComboBoxValues();
     GameObjectFactory = new Generation.GameObjectFactory();
     MethodFactory = new Generation.MethodFactory();
     Generator = new Generation.Generator();
 }
Exemplo n.º 3
0
        //Constructor
        public Loading(ContentManager Content, String s_Next)
            : base()
        {
            gGen = new Generation.Generator();
            bCanPlay = gGen.CreatePath(Option.RoomsMin,Option.RoomsMax);
            fProgress = 0.0f;
            iRainPos = 0;

            sBackground = new AnimatedSprite(Content, "Menus/Main");
            sBackgroundWindows = new AnimatedSprite(Content, "Menus/MainW");
            sRain = new AnimatedSprite(Content, "Menus/Rain");
            sRain.Colour = new Color(Color.LightSalmon, 1.0f);

            //sBackground.Alpha = 0.2f;
            sBackgroundOverlay = new AnimatedSprite(Content, "Menus/MainOverlay");
            sBackgroundOverlay.Colour = new Color(Color.Red, 1.0f);
            sBackgroundOverlay.Alpha = 0.0f;
        }