Upgrades code style - First batch (#22)

This commit is contained in:
Kamron Batman 2018-08-14 06:16:50 +08:00 committed by GitHub
parent 8ee42c8ea2
commit 632e8b4757
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
1834 changed files with 10245 additions and 10437 deletions

View file

@ -5,7 +5,7 @@ namespace Server.Items
{
public class Chessboard : BaseBoard
{
public override int LabelNumber{ get{ return 1016450; } } // a chessboard
public override int LabelNumber => 1016450; // a chessboard
[Constructible]
public Chessboard() : base( 0xFA6 )
@ -33,14 +33,14 @@ namespace Server.Items
CreatePiece( new PieceWhiteKnight( this ), 216, 30 );
CreatePiece( new PieceWhiteKnight( this ), 216, 155 );
// Bishop
CreatePiece( new PieceBlackBishop( this ), 42, 55 );
CreatePiece( new PieceBlackBishop( this ), 42, 130 );
CreatePiece( new PieceWhiteBishop( this ), 216, 55 );
CreatePiece( new PieceWhiteBishop( this ), 216, 130 );
// Queen
CreatePiece( new PieceBlackQueen( this ), 42, 105 );
CreatePiece( new PieceWhiteQueen( this ), 216, 105 );
@ -66,4 +66,4 @@ namespace Server.Items
int version = reader.ReadInt();
}
}
}
}