EffectGroup

interface EffectGroup<P : Position2D<out P>?> : Serializable, Queue<EffectFX<P>> , EffectFX<P>

Models a group of effects. Each effect has a different priority of visualization.

Parameters

<P>

the position type

Functions

Link copied to clipboard
abstract fun add(p: E): Boolean
Link copied to clipboard
abstract fun addAll(p: Collection<out E>): Boolean
Link copied to clipboard
abstract fun changePriority(effect: EffectFX<P>, offset: Int)
Changes the specified offset priority of the specified offset.
Link copied to clipboard
abstract fun clear()
Link copied to clipboard
abstract fun <T> computeDrawCommands(environment: Environment<T, P>): Queue<DrawCommand<P>>
Computes a queue of commands to Draw something.
Link copied to clipboard
abstract fun contains(p: Any): Boolean
Link copied to clipboard
abstract fun containsAll(p: Collection<out Any>): Boolean
Link copied to clipboard
abstract fun element(): E
Link copied to clipboard
abstract fun equals(obj: Any): Boolean
Compares the EffectGroups.
Link copied to clipboard
open fun forEach(action: Consumer<out Any>)
Link copied to clipboard
abstract fun getName(): String
Gets the name of the effect.
Link copied to clipboard
abstract fun getVisibilityOf(effect: EffectFX<P>): Boolean
Returns the visibility of the specified effect.
Link copied to clipboard
abstract fun hashCode(): Int
Link copied to clipboard
abstract fun isEmpty(): Boolean
Link copied to clipboard
abstract fun isVisible(): Boolean
Gets the visibility of the effect.
Link copied to clipboard
abstract fun iterator(): Iterator<T>
abstract fun iterator(): Iterator<E>
Link copied to clipboard
abstract fun offer(p: E): Boolean
Link copied to clipboard
open fun parallelStream(): Stream<E>
Link copied to clipboard
abstract fun peek(): E
Link copied to clipboard
abstract fun poll(): E
Link copied to clipboard
abstract fun remove(): E
abstract fun remove(p: Any): Boolean
Link copied to clipboard
abstract fun removeAll(p: Collection<out Any>): Boolean
Link copied to clipboard
open fun removeIf(filter: Predicate<out Any>): Boolean
Link copied to clipboard
abstract fun retainAll(p: Collection<out Any>): Boolean
Link copied to clipboard
abstract fun search(effect: EffectFX<P>): Int
Checks if an effect is present in the group.
Link copied to clipboard
abstract fun setName(name: String)
Sets the name of the effect.
Link copied to clipboard
abstract fun setVisibility(visibility: Boolean)
Sets the visibility of the effect.
Link copied to clipboard
abstract fun setVisibilityOf(effect: EffectFX<P>, visibility: Boolean)
Sets the visibility of the specified effect.
Link copied to clipboard
abstract fun size(): Int
Link copied to clipboard
open fun spliterator(): Spliterator<T>
open fun spliterator(): Spliterator<E>
Link copied to clipboard
open fun stream(): Stream<E>
Link copied to clipboard
abstract fun toArray(): Array<Any>
abstract fun <T> toArray(p: Array<T>): Array<T>

Inheritors

Link copied to clipboard