package com.company;

/**
 * Created by tomoki-n on 2015/04/16.
 */
public class Controller_Nishinaka {


    Boardinfo info;
    Panel[][] panel;

    Controller_Nishinaka(Boardinfo Binfo){
        info = Binfo;
    }

    //1.2つ同時に動く
    //2.敵を無視する。





    /**  コマの移動命令 **/
    public int[] UnitOrder(){

        int unit[] = new int[3];

        /** 0:コマの種類　1:X座標　2:Y座標 **/
        unit[0]=0;
        unit[1]=0;
        unit[2]=0;

        return unit;
    }





}

package com.company;

/**
 * Created by tomoki-n on 2015/04/16.
 */
public class Controller_Nishinaka {



    Boardinfo info;
    Panel[][] panel;


    //ターン管理
    public static final int STATE_PLAY_TURN1 = 11;
    public static final int STATE_PLAY_TURN2 = 12;
    public static final int STATE_PLAY_TURN3 = 13;
    public static final int STATE_PLAY_TURN4 = 14;


    /**
     * コンストラクタ
     * */
    Controller_Nishinaka(Boardinfo Binfo){
        info = Binfo;
    }

    //1.2つ同時に動く
    //2.敵を無視する

    /**  コマの移動命令 **/
    public int[] UnitOrder(){

        int unit[] = new int[3];

        /** 0:コマの種類　1:X座標　2:Y座標 **/
        unit[0]=0;
        unit[1]=0;
        unit[2]=0;

        return unit;
    }







}

add member