public MAP_STATUS GetNextTileMapStatus()
    {
        MAP_STATUS retMapStatus = nowTileMapStatus_;

        nowTileMapStatus_ = nextTileMapStatus_;

        return(retMapStatus);
    }
    public bool MoveCheck(Vector3 obj_pos, MAP_STATUS state)
    {
        //イベントとイベントを重ねない処理
        if (state == MAP_STATUS.EVENT_WALL || state == MAP_STATUS.EVENT_FLOOR)
        {
            if (_map[_map.GetLength(0) - (int)obj_pos.y, (int)obj_pos.x - 1] == (int)MAP_STATUS.EVENT_WALL ||
                _map[_map.GetLength(0) - (int)obj_pos.y, (int)obj_pos.x - 1] == (int)MAP_STATUS.EVENT_FLOOR)
            {
                return(false);
            }
        }
        if (_map[_map.GetLength(0) - (int)obj_pos.y, (int)obj_pos.x - 1] == (int)MAP_STATUS.WALL ||
            _map[_map.GetLength(0) - (int)obj_pos.y, (int)obj_pos.x - 1] == (int)MAP_STATUS.PLAYER ||
            _map[_map.GetLength(0) - (int)obj_pos.y, (int)obj_pos.x - 1] == (int)MAP_STATUS.EVENT_WALL)
        {
            return(false);
        }

        return(true);
    }
 public void MemoryNextTileMapStatus(Vector3 obj_pos)
 {
     nextTileMapStatus_ = (MAP_STATUS)_map[_map.GetLength(0) - (int)obj_pos.y, (int)obj_pos.x - 1];
 }
 public void SetMapStatus(Vector3 obj_pos, MAP_STATUS state)
 {
     _map[_map.GetLength(0) - (int)obj_pos.y, (int)obj_pos.x - 1] = (int)state;
 }