public static Thing Random() { return(new Thing { Kind = GenGod.GenOne(0, 2) == 0 ? ThingKind.Weapon : ThingKind.Armor, Bonus = GenGod.GenOne(0, 10), Identified = true }); }
public Point GetWalkablePoint() { var room = _rooms[GenGod.GenOne(0, _rooms.Count)]; return(GenGod.Point(room.TopLeft.X, room.TopLeft.Y, room.BottomRight.X, room.BottomRight.Y)); }