コード例 #1
0
ファイル: Figure.cs プロジェクト: arrknir29a/DobutsuShogi
 public Figure(int x, int y, EFigure f, Player player)
 {
     this.player = player;
     this.x      = x;
     this.y      = y;
     this.id     = (int)f;
 }
コード例 #2
0
ファイル: Figure.cs プロジェクト: arrknir29a/DobutsuShogi
 public Figure(int x, int y, EFigure f, Player player, bool inSleeve)
 {
     this.player   = player;
     this.x        = x;
     this.y        = y;
     this.id       = (int)f;
     this.inSleeve = inSleeve;
 }
コード例 #3
0
 public LionFigure(int x, int y, EFigure f, Player player, bool inSleeve)
     : base(x, y, f, player, inSleeve)
 {
     this.player   = player;
     this.x        = x;
     this.y        = y;
     this.id       = (int)f;
     this.inSleeve = inSleeve;
 }
コード例 #4
0
ファイル: Settings.cs プロジェクト: RockTF/Paint
 public void SetMode(EFigure newMode)
 {
     _settings.Mode = newMode;
 }