Esempio n. 1
0
 public World(GameSettings settings, IInputFactory inputFactory, IGraphicManager graphicManager)
 {
     iteration           = 0;
     this.inputFactory   = inputFactory;
     this.graphicManager = graphicManager;
     RainClouds          = new List <RainCloud>();
     Thunderstorms       = new List <Thunderstorm>();
     Clouds   = new List <Cloud>();
     Settings = settings;
 }
Esempio n. 2
0
 protected Cloud(World world, float vapor, IGraphicManager graphicsHandler, ShapeType shapeType)
 {
     this.world = world;
     this.vapor = vapor;
     this.graphicsHandler = graphicsHandler;
     velocity = new Vector();
     position = new Vector();
     shape = graphicsHandler.InsertShape(shapeType);
     random = new Random(DateTime.UtcNow.Millisecond);
 }
Esempio n. 3
0
 protected Cloud(World world, float vapor, IGraphicManager graphicsHandler, ShapeType shapeType)
 {
     this.world           = world;
     this.vapor           = vapor;
     this.graphicsHandler = graphicsHandler;
     velocity             = new Vector();
     position             = new Vector();
     shape  = graphicsHandler.InsertShape(shapeType);
     random = new Random(DateTime.UtcNow.Millisecond);
 }
Esempio n. 4
0
 public World(GameSettings settings, IInputFactory inputFactory, IGraphicManager graphicManager)
 {
     iteration = 0;
     this.inputFactory = inputFactory;
     this.graphicManager = graphicManager;
     RainClouds = new List<RainCloud>();
     Thunderstorms = new List<Thunderstorm>();
     Clouds = new List<Cloud>();
     Settings = settings;
 }
Esempio n. 5
0
 public Thunderstorm(World world, float vapor, IGraphicManager graphicsHandler, ShapeType shapeType,
                     IInputHandler inputHandler) : base(world, vapor, graphicsHandler, shapeType)
 {
     this.inputHandler = inputHandler;
 }
Esempio n. 6
0
 public Thunderstorm(World world, float vapor, IGraphicManager graphicsHandler, ShapeType shapeType,
                     IInputHandler inputHandler)
     : base(world, vapor, graphicsHandler, shapeType)
 {
     this.inputHandler = inputHandler;
 }
Esempio n. 7
0
 public RainCloud(World world, float vapor, IGraphicManager graphicsHandler, ShapeType shapeType)
     : base(world, vapor, graphicsHandler, shapeType)
 {
 }
Esempio n. 8
0
 public RainCloud(World world, float vapor, IGraphicManager graphicsHandler, ShapeType shapeType)
     : base(world, vapor, graphicsHandler, shapeType)
 {
 }