resolutions 1

This commit is contained in:
FateJH 2019-12-10 10:11:23 -05:00
parent 7b6063055a
commit 3402ea2155
2 changed files with 22 additions and 25 deletions

View file

@ -20,7 +20,7 @@ class Building(private val name: String,
private val map_id : Int,
private val zone : Zone,
private val buildingType : StructureType.Value,
private val buildingDefinition : ObjectDefinition) extends PlanetSideServerObject {
private val buildingDefinition : ObjectDefinition) extends PlanetSideServerObject
with AmenityOwner {
/**
* The map_id is the identifier number used in BuildingInfoUpdateMessage. This is the index that the building appears in the MPO file starting from index 1
@ -69,8 +69,6 @@ class Building(private val name: String,
playersInSOI
}
def Zone : Zone = zone
// Get all lattice neighbours
def Neighbours: Option[Set[Building]] = {
zone.Lattice find this match {