class ZoneProjectileActor extends Actor
Synchronize management of the list of some Projectile
s maintained by a zone.
- Alphabetic
- By Inheritance
- ZoneProjectileActor
- Actor
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new ZoneProjectileActor(zone: Zone, projectileList: ListBuffer[Projectile])
- zone
the zone being represented
- projectileList
the zone's projectile list
Type Members
- type Receive = PartialFunction[Any, Unit]
- Definition Classes
- Actor
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def aroundPostRestart(reason: Throwable): Unit
- Attributes
- protected[akka]
- Definition Classes
- Actor
- Annotations
- @InternalApi()
- def aroundPostStop(): Unit
- Attributes
- protected[akka]
- Definition Classes
- Actor
- Annotations
- @InternalApi()
- def aroundPreRestart(reason: Throwable, message: Option[Any]): Unit
- Attributes
- protected[akka]
- Definition Classes
- Actor
- Annotations
- @InternalApi()
- def aroundPreStart(): Unit
- Attributes
- protected[akka]
- Definition Classes
- Actor
- Annotations
- @InternalApi()
- def aroundReceive(receive: akka.actor.Actor.Receive, msg: Any): Unit
- Attributes
- protected[akka]
- Definition Classes
- Actor
- Annotations
- @InternalApi()
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def cleanUpRemoteProjectile(projectile_guid: PlanetSideGUID, projectile: Projectile): Unit
For a given registered remote projectile, perform all the actions necessary to properly dispose of it.
For a given registered remote projectile, perform all the actions necessary to properly dispose of it. The projectile doesn't have to be registered at the moment, but you do need to know it's (previous) globally unique identifier.
Those actions involve:
- remove and cancel the internal disposal timer,
- if the projectile is a radiation cloud, remove it from the zone blockmap
- remove the projectile from the zone managing list, and
- dispatch messages to eliminate the projectile from the game world.- projectile_guid
the globally unique identifier of the projectile
- projectile
the projectile
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- implicit val context: ActorContext
- Definition Classes
- Actor
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def loadedRemoteProjectile(filterGuid: PlanetSideGUID, projectileGuid: PlanetSideGUID, projectile: Projectile): Unit
For a given registered remote projectile, perform all the actions necessary to properly integrate it into the management system.
Those actions involve:
- determine whether or not the default filter needs to be applied,
- add the projectile to the zone managing list,
- if the projectile is a radiation cloud, add it to the zone blockmap
- set up the internal disposal timer, and
- dispatch a message to introduce the projectile to the game world.For a given registered remote projectile, perform all the actions necessary to properly integrate it into the management system.
Those actions involve:
- determine whether or not the default filter needs to be applied,
- add the projectile to the zone managing list,
- if the projectile is a radiation cloud, add it to the zone blockmap
- set up the internal disposal timer, and
- dispatch a message to introduce the projectile to the game world.- filterGuid
a unique identifier filtering messages from a certain recipient
- projectileGuid
the projectile unique identifier that was assigned by the zone's unique number system
- projectile
the projectile being included
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def postRestart(reason: Throwable): Unit
- Definition Classes
- Actor
- Annotations
- @throws(classOf[java.lang.Exception])
- def postStop(): Unit
- Definition Classes
- ZoneProjectileActor → Actor
- def preRestart(reason: Throwable, message: Option[Any]): Unit
- Definition Classes
- Actor
- Annotations
- @throws(classOf[java.lang.Exception])
- def preStart(): Unit
- Definition Classes
- Actor
- Annotations
- @throws(classOf[java.lang.Exception])
- val projectileLifespan: HashMap[PlanetSideGUID, Cancellable]
a series of timers matched against projectile unique identifiers, marking the maximum lifespan of the projectile
- def receive: Receive
- Definition Classes
- ZoneProjectileActor → Actor
- def reregisterProjectile(filterGuid: PlanetSideGUID, obj: Projectile): TaskBundle
If the projectile object is unregistered, register it.
If the projectile object is unregistered, register it. If the projectile object is already registered, unregister it and then register it again.
- obj
the projectile to be registered (a second time?)
- returns
a
TaskBundle
message
- See also
registerProjectile(Projectile)
unregisterProjectile(Projectile)
- implicit final val self: ActorRef
- Definition Classes
- Actor
- final def sender(): ActorRef
- Definition Classes
- Actor
- def supervisorStrategy: SupervisorStrategy
- Definition Classes
- Actor
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def unhandled(message: Any): Unit
- Definition Classes
- Actor
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()