예제 #1
0
 public BlockAreaEnumerable(Blocks blocks, Rectangle area)
 {
     this.Blocks = blocks;
     this.Area   = area;
 }
예제 #2
0
 internal ProxyWorld(Blocks innerWorld)
 {
     this._innerWorld = innerWorld;
 }
예제 #3
0
 public ProxyWorld(Blocks innerWorld)
 {
     this._innerWorld = innerWorld;
 }
예제 #4
0
 public static void Place(this Blocks blocks, int x, int y, Foreground.Id block, bool enabled)
 {
     blocks.Place(x, y, new ForegroundBlock(block, enabled));
 }
예제 #5
0
 public static void Place(this Blocks blocks, int x, int y, Background.Id block)
 {
     blocks.Place(x, y, new BackgroundBlock(block));
 }
예제 #6
0
 public static void Place(this Blocks blocks, int x, int y, Foreground.Id block, Morph.Id morph)
 {
     blocks.Place(x, y, new ForegroundBlock(block, morph));
 }
예제 #7
0
 public static void Place(this Blocks blocks, int x, int y, Foreground.Id block,
                          uint portalId, uint portalTarget, Morph.Id portalRotation)
 {
     blocks.Place(x, y, new ForegroundBlock(block, portalId, portalTarget, portalRotation));
 }
예제 #8
0
 public static void Place(this Blocks blocks, int x, int y, Foreground.Id block, string text, string textColor)
 {
     blocks.Place(x, y, new ForegroundBlock(block, text, textColor));
 }
예제 #9
0
 public static void Place(this Blocks blocks, int x, int y, Foreground.Id block, string args)
 {
     blocks.Place(x, y, new ForegroundBlock(block, args));
 }
예제 #10
0
 public static void Place(this Blocks blocks, int x, int y, Foreground.Id block, int coinsToCollect)
 {
     blocks.Place(x, y, new ForegroundBlock(block, coinsToCollect));
 }