class

Crash::Entity::NameChangedEvent

Inherits EventHandler::Event < Reference < Object

Dispatched when the name of the entity changes. Used internally by the engine to track entitites based on their names.

Constructors

new(entity : Crash::Entity, old_name : String)

Instance methods

clone
copy_with(entity _entity = @entity, old_name _old_name = @old_name)
entity
old_name

Nested types