Exemplo n.º 1
0
    //initialize battleship parameteres
    public void Init_Ship(int s_size)
    {
        Debug.Log("ship class init start");

        ship_conf = new Cords[s_size];
        ship_size = s_size;
        cur_loc = 0;
        ship_status = true;//alive
        structure_complete = false; //no ship yet

        input_validator = new InputValidator();
        input_validator.InitValidator();

        Debug.Log("ship class init done");
    }