public GKoma(int X, int Y, KomaState state, int index, GGame ggame)
            : base(X, Y, state, index, ggame)
        {
            this.ggame = ggame;

            imgH = GetImage("hina.png", 1);
            imgK = GetImage("kirin.png", 1);
            imgZ = GetImage("zo.png", 1);
            imgL = GetImage("lion.png", 1);
            imgN = GetImage("niwatori.png", 1);

            imgH2 = GetImage("hina.png", 0.3);
            imgK2 = GetImage("kirin.png", 0.3);
            imgZ2 = GetImage("zo.png", 0.3);
            imgL2 = GetImage("lion.png", 0.3);
            imgN2 = GetImage("niwatori.png", 0.3);
        }
        public GKoma(int X, int Y, KomaState state, int index, GGame ggame)
            : base(X, Y, state, index, ggame)
        {
            this.ggame = ggame;

            imgH = GetImage("hina.png", 1);
            imgK = GetImage("kirin.png", 1);
            imgZ = GetImage("zo.png", 1);
            imgL = GetImage("lion.png", 1);
            imgN = GetImage("niwatori.png", 1);

            imgH2 = GetImage("hina.png", 0.3);
            imgK2 = GetImage("kirin.png", 0.3);
            imgZ2 = GetImage("zo.png", 0.3);
            imgL2 = GetImage("lion.png", 0.3);
            imgN2 = GetImage("niwatori.png", 0.3);
        }
 public MainWindow()
 {
     InitializeComponent();
     ggame = new GGame(this);
     NewGame();
 }
 public MainWindow()
 {
     InitializeComponent();
     ggame = new GGame(this);
     NewGame();
 }