public void init(Character character) { this.color = character.getColor(); XNACS1Rectangle charBox = character.getPosition(); this.box = new XNACS1Rectangle(charBox.Center, charBox.Width, charBox.Height); this.box.Color = this.color; box.AddToAutoDrawSet(); }
public Trail(Character character) { this.character = character; this.trail = new Queue<Footprint>(); this.pool = new Queue<Footprint>(); this.timer = new Timer(interval); }
public Footprint(Character character) { init(character); }