2021-04-18 09:10:30 +02:00
|
|
|
/*
|
|
|
|
* This file is a part of the SteamWar software.
|
|
|
|
*
|
|
|
|
* Copyright (C) 2021 SteamWar.de-Serverteam
|
|
|
|
*
|
|
|
|
* This program is free software: you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU Affero General Public License as published by
|
|
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU Affero General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Affero General Public License
|
|
|
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
|
|
|
package de.steamwar.bausystem.region;
|
|
|
|
|
2021-04-18 15:34:31 +02:00
|
|
|
import java.util.Set;
|
|
|
|
|
2021-04-18 09:10:30 +02:00
|
|
|
public class Region {
|
2021-04-18 15:34:31 +02:00
|
|
|
|
|
|
|
private Prototype prototype;
|
|
|
|
private Set<Prototype> alternativePrototypes;
|
|
|
|
|
|
|
|
private Point minPoint;
|
|
|
|
private Point maxPoint;
|
|
|
|
|
|
|
|
private Point minPointTestblock;
|
|
|
|
private Point maxPointTestblock;
|
|
|
|
|
|
|
|
private Point minPointTestblockExtension;
|
|
|
|
private Point maxPointTestblockExtension;
|
|
|
|
|
|
|
|
private Point minPointBuild;
|
|
|
|
private Point maxPointBuild;
|
|
|
|
|
|
|
|
private Point minPointBuildExtension;
|
|
|
|
private Point maxPointBuildExtension;
|
|
|
|
|
|
|
|
private Region linkedRegion = null; // Nullable
|
|
|
|
|
|
|
|
private FlagStorage flagStorage;
|
|
|
|
|
2021-04-18 09:10:30 +02:00
|
|
|
}
|