コード例 #1
0
 public void SetCurrentBrushToTrap()
 {
     CurrentPaint = new TilePaint
     {
         blockType = BlockType.Trap,
         sprite    = trap
     };
 }
コード例 #2
0
 public void SetCurrentBrushToNegativeCoin()
 {
     CurrentPaint = new TilePaint
     {
         blockType = BlockType.NegativeCoin,
         sprite    = negativeCoin
     };
 }
コード例 #3
0
 public void SetCurrentBrushToCoin()
 {
     CurrentPaint = new TilePaint
     {
         blockType = BlockType.Coin,
         sprite    = coin
     };
 }
コード例 #4
0
 public void SetCurrentBrushToPlayerStart()
 {
     CurrentPaint = new TilePaint
     {
         blockType = BlockType.PlayerStart,
         sprite    = playerStart
     };
 }
コード例 #5
0
 public void SetCurrentBrushToWall()
 {
     CurrentPaint = new TilePaint
     {
         blockType = BlockType.Wall,
         sprite    = wall
     };
 }
コード例 #6
0
 public void SetCurrentBrushToAir()
 {
     CurrentPaint = CreateAirTilePaint();
 }