예제 #1
0
        //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();
        }
예제 #2
0
 public SegmentInstance(SegmentRenderer renderer)
 {
     m_renderer = renderer;
 }
예제 #3
0
 public SegmentInstance(SegmentRenderer renderer)
 {
     m_renderer = renderer;
 }