public Emitter(Vector2 location, GraphicsDevice gd, ContentManager content) : base(location) { this.initialise(content); next = null; laser = new PrimitiveLine(gd); laser.Colour = Color.Red; laser.Depth = 0; laser.Position = position; on = true; }
public void addTarget(Mirror m) { nextTarget.Add(m); }
public void setTarget(Mirror m) { next = m; }
private Platformer.Tiles.Activator CreateMirror(int x, int y) { Vector2 tileCenter = new Vector2(x + Tile.Width / 2, y + Tile.Height / 2); Mirror m = new Mirror(tileCenter,themedContent); return m; }