Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class ChaoticParticle : ParticleEmitter
- {
- public ChaoticParticle(MatrixCoords position, MatrixCoords speed, Random randomGenerator) :
- base(position, speed, randomGenerator)
- {
- }
- public override char[,] GetImage()
- {
- return new char[,] { { (char)18 } };
- }
- public override IEnumerable<Particle> Update()
- {
- this.Speed = GetRandomCoords();
- this.Move();
- return new List<Particle>();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement