Example #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;
 }
Example #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);
 }
Example #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);
 }
Example #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;
 }
Example #5
0
 public Thunderstorm(World world, float vapor, IGraphicManager graphicsHandler, ShapeType shapeType,
                     IInputHandler inputHandler) : base(world, vapor, graphicsHandler, shapeType)
 {
     this.inputHandler = inputHandler;
 }
Example #6
0
 public Thunderstorm(World world, float vapor, IGraphicManager graphicsHandler, ShapeType shapeType,
                     IInputHandler inputHandler)
     : base(world, vapor, graphicsHandler, shapeType)
 {
     this.inputHandler = inputHandler;
 }
Example #7
0
 public RainCloud(World world, float vapor, IGraphicManager graphicsHandler, ShapeType shapeType)
     : base(world, vapor, graphicsHandler, shapeType)
 {
 }
Example #8
0
 public RainCloud(World world, float vapor, IGraphicManager graphicsHandler, ShapeType shapeType)
     : base(world, vapor, graphicsHandler, shapeType)
 {
 }