private int collisionType(char data)
    {
        if(data == '@' || data == 'T' || data == '\u0000' || data == Map.EDGE)
            return PTSPConstants.NORMAL_COLLISION_TYPE;
        else if(data == Map.DAMAGE)
            return PTSPConstants.DAMAGE_COLLISION_TYPE;
        else if(data == Map.ELASTIC)
            return PTSPConstants.ELASTIC_COLLISION_TYPE;
        return PTSPConstants.NO_COLLISION_TYPE;
    }