public void SetToScreenValues(NessieGame game)
 {
     Box.Left   = 0;
     Box.Top    = 0;
     Box.Width  = game.ScreenWidth;
     Box.Height = game.ScreenHeight;
 }
Exemple #2
0
        public BloodLevel(NessieGame game, float step)
        {
            Step      = step;
            this.game = game;

            bloodTexture = new TextureGenerator(game.GraphicsDevice).Create1x1(Color.White);
        }
 public void SetToScreenValues(NessieGame game)
 {
     Box.Left = 0;
     Box.Top = 0;
     Box.Width = game.ScreenWidth;
     Box.Height = game.ScreenHeight;
 }
        public CometsGameObjectFactory(NessieGame game, SceneManager sceneManager)
            : base(sceneManager)
        {
            this.game = game;

            random = new Random();
        }
        public BloodLevel(NessieGame game, float step)
        {
            Step = step;
            this.game = game;

            bloodTexture = new TextureGenerator(game.GraphicsDevice).Create1x1(Color.White);
        }
        public CometsGameObjectFactory(NessieGame game, SceneManager sceneManager)
            : base(sceneManager)
        {
            this.game = game;

            random = new Random();
        }
 public IntroScreen(NessieGame game)
     : base(game)
 {
 }
 public MainScreen(NessieGame game)
     : base(game)
 {
 }
 public MainScreen(NessieGame game)
     : base(game)
 {
 }
 public IntroScreen(NessieGame game)
     : base(game)
 {
 }
 public MenuScreen(NessieGame game)
     : base(game)
 {
 }
 public MenuScreen(NessieGame game)
     : base(game)
 {
 }