Esempio n. 1
0
 public BloodParticle(Vector3 o, Color c1, float s1, float s2, float curTime, float timeAlive)
     : base(timeAlive, ParticleType.Blood)
 {
     CustomVertex = new VertexAlertInstance(o, o, new Vector4(curTime, timeAlive, s1, s2), c1, Color.Transparent);
     Vertex       = CustomVertex;
 }
Esempio n. 2
0
 public AlertParticle(Vector3 o, float s1, Color c1, Vector3 t, float s2, Color c2, float curTime, float timeAlive)
     : base(timeAlive, ParticleType.Alert)
 {
     CustomVertex = new VertexAlertInstance(o, t, new Vector4(curTime, timeAlive, s1, s2), c1, c2);
     Vertex       = CustomVertex;
 }