selery.entity.entity

Public Imports

sul.entities
public import sul.entities : Entities;

Members

Aliases

NoFallDamage
alias NoFallDamage(T : Entity) = FunctionChanged!(T, "protected override void doFallDamage(float distance){}")

An entity that doesn't take fall damage.

NoPhysic
alias NoPhysic(T : Entity) = FunctionChanged!(T, "protected override void doPhysic(){}")

An entity without physic.

Noai
alias Noai(T : Entity) = VariableChanged!(T, "this.noai = true")

An Entity without AI.

Unticked
alias Unticked(T : Entity) = VariableChanged!(T, "this.ticking = false;")

An entity without ticking.

UntickedNoai
alias UntickedNoai(T : Entity) = VariableChanged!(T, "this.ticking = false;this.noai = true;")

An entity without ticking and AI.

Classes

Entity
class Entity

Base abstract class for every entity.

Enums

Rotation
enum Rotation
Undocumented in source.

Templates

FunctionChanged
template FunctionChanged(T : Entity, string changes)

A template for entities with changing on functions.

VariableChanged
template VariableChanged(T : Entity, string changes)

A template for entities with changes on variables.

Meta

License

MIT

Authors

Kripth