Ejemplo n.º 1
0
 public void AddBolt(CCLightningBolt bolt)
 {
     _Bolts.Add(new BoltStatus()
     {
         Bolt                = bolt,
         Segments            = CreateBolt(bolt.Start, bolt.End),
         CurrentTime         = 0f,
         LastSegmentIndex    = 0,
         DrawNodeVertexIndex = new List <int>()
     });
 }
Ejemplo n.º 2
0
 public void AddBolt(CCLightningBolt bolt) 
 {
     _Bolts.Add(new BoltStatus() { 
         Bolt = bolt, 
         Segments = CreateBolt(bolt.Start, bolt.End),
         CurrentTime = 0f,
         LastSegmentIndex = 0,
         DrawNodeVertexIndex = new List<int>()
     });
 }