예제 #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;
 }