Пример #1
0
 public SwitchDoor(ColourTuple colour) : base('+', colour, true)
 {
 }
 public PushReceptacle(ColourTuple colour, string matchBlocks) : base('*', colour, false)
 {
     this.Match = matchBlocks;
 }
Пример #3
0
 public Entity(char displayCharacter, ColourTuple colour, bool isSolid)
 {
     this.DisplayCharacter = displayCharacter;
     this.Colour           = colour;
     this.IsSolid          = isSolid;
 }
Пример #4
0
 public PushBlock(ColourTuple colour, string matchOn) : base('0', colour, true)
 {
     this.Match = matchOn;
 }