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

@ -21,13 +21,13 @@ namespace Server.Engines.Mahjong
private MahjongPieceDirection m_Direction;
private bool m_Flipped;
public MahjongGame Game { get { return m_Game; } }
public int Number { get { return m_Number; } }
public MahjongTileType Value { get { return m_Value; } }
public Point2D Position { get { return m_Position; } }
public int StackLevel { get { return m_StackLevel; } }
public MahjongPieceDirection Direction { get { return m_Direction; } }
public bool Flipped { get { return m_Flipped; } }
public MahjongGame Game => m_Game;
public int Number => m_Number;
public MahjongTileType Value => m_Value;
public Point2D Position => m_Position;
public int StackLevel => m_StackLevel;
public MahjongPieceDirection Direction => m_Direction;
public bool Flipped => m_Flipped;
public MahjongTile( MahjongGame game, int number, MahjongTileType value, Point2D position, int stackLevel, MahjongPieceDirection direction, bool flipped )
{
@ -94,4 +94,4 @@ namespace Server.Engines.Mahjong
m_Flipped = reader.ReadBool();
}
}
}
}