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