public void AddThingList(ThingList things) { foreach (Thing thing in things) { list.Add(thing); } }
public Thing(GameScene game, Vector position) { this.Game = game; this.Position = position; Velocity = Vector.Zero; Removed = false; Carry = new ThingList(); }
public Thing(GameScene game, int row, int col) { this.Game = game; Position.X = col * Mafia.BLOCK_WIDTH; Position.Y = row * Mafia.BLOCK_WIDTH; Velocity = Vector.Zero; Removed = false; Carry = new ThingList(); }
public GameScene(string title, int numRows, int numCols) { this.title = title; map = new Map(numRows, numCols); things = new ThingList(); addThings = new ThingList(); currentNumCoins = 0; gameTimer = 0; missTimer = 0; clearTimer = 0; }