Skip to main content

Artifact

Instance of Entity.

Artifact.new(team?)

Returns a new Entity instance.

Artifact.from(entity)

Returns the entity passed in if the entity is an artifact, otherwise returns nil.

Explosion.new(team?)

Returns a new Entity instance.

The entity will play an animation and sound, automatically deletes on completion.

Poof.new(team?)

Returns a new Entity instance.

The entity will play an animation, automatically deletes on completion.

Alert.new(team?)

Returns a new Entity instance.

The entity will play an animation, automatically deletes on completion.