Implemented the signpost for varrock guards
This commit is contained in:
@@ -25,6 +25,9 @@ import core.game.system.task.Pulse
|
||||
import core.game.world.map.Location
|
||||
import core.game.world.map.RegionManager
|
||||
import core.game.world.map.path.Pathfinder
|
||||
import core.game.world.map.zone.MapZone
|
||||
import core.game.world.map.zone.ZoneBorders
|
||||
import core.game.world.map.zone.ZoneBuilder
|
||||
import core.game.world.update.flag.context.Animation
|
||||
import core.game.world.update.flag.context.Graphics
|
||||
import core.tools.RandomFunction
|
||||
@@ -1022,4 +1025,15 @@ object ContentAPI {
|
||||
fun sceneryDefinition(id: Int): SceneryDefinition{
|
||||
return SceneryDefinition.forId(id)
|
||||
}
|
||||
|
||||
/**
|
||||
* Register a map zone
|
||||
* @param zone the zone to register
|
||||
* @param borders the ZoneBorders that compose the zone
|
||||
*/
|
||||
@JvmStatic
|
||||
fun registerMapZone(zone: MapZone, borders: ZoneBorders){
|
||||
ZoneBuilder.configure(zone)
|
||||
zone.register(borders)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user