trait JammableBehavior extends AnyRef
An Actor
control object mix-in that manages common responses to the "jammerable" status.
Two aspects to jammering are supported -
a telling buzzing sound that follows the affected target
and actual effects upon the target's actions -
and are controlled independently.
The primary purpose of this behavior is to control timers that toggle the states of these two aspects.
- Self Type
- JammableBehavior with Actor
- Source
- JammingUnit.scala
- Alphabetic
- By Inheritance
- JammableBehavior
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract def JammableObject: PlanetSideServerObject with JammableUnit with ZoneAware
ZoneAware
is used for callback to the event systems
Concrete 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 CancelJammeredSound(target: Any): Unit
Deactivate a distinctive buzzing sound effect.
Deactivate a distinctive buzzing sound effect. Due to considerations of the object that is the target, this is left to be implemented by a subclass. We merely stop the timer.
- target
an object that can be affected by the jammered status
- def CancelJammeredStatus(target: Any): Unit
Deactivate the effects of the jammered status.
Deactivate the effects of the jammered status. Due to considerations of the object that is the target, this is left to be implemented by a subclass. We merely stop the timer.
- target
an object that can be affected by the jammered status
- def StartJammeredSound(target: Any, dur: Int = 30000): Unit
Activate a distinctive buzzing sound effect.
Activate a distinctive buzzing sound effect. Due to considerations of the object that is the target, this is left to be implemented by a subclass. We merely start the timer.
- target
an object that can be affected by the jammered status
- dur
the duration of the timer, in milliseconds; by default, 30000
- def StartJammeredStatus(target: Any, dur: Int): Unit
Deactivate the effects of the jammered status.
Deactivate the effects of the jammered status. Due to considerations of the object that is the target, this is left to be implemented by a subclass. We merely stop the timer.
- target
an object that can be affected by the jammered status
- dur
the duration of the timer, in milliseconds
- def TryJammerEffectActivate(target: Any, cause: DamageResult): Unit
If the target can be validated against, affect it with the jammered status.
If the target can be validated against, affect it with the jammered status.
- target
the objects to be determined if affected by the source's jammering
- cause
the source of the "jammered" status
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- 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
- val jammableBehavior: (JammableBehavior.this)#Receive
- val jammedSound: Boolean
flag for jammed sound
flag for jammed sound
- Attributes
- protected
- val jammeredSoundTimer: Cancellable
the sound timer
the sound timer
- Attributes
- protected
- val jammeredStatusTimer: Cancellable
the effect timer
the effect timer
- Attributes
- protected
- 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()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- 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()