//public ParticleEngine ParticleEngine { get; set; } public Zone(Map map, Vector2i id) { m_id = id; m_map = map; Walls = new List<Wall>(); Lights = new List<Light>(); Trees = new List<Tree>(); m_wallRenderer = new SegmentRenderer(); m_lightRenderer = new TriangleFanRenderer(); Floor = new Floor(this); m_treeRenderer = new SpriteRenderer(TreesSprites.Instance); Generate(); }
public SegmentInstance(SegmentRenderer renderer) { m_renderer = renderer; }