mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
17 lines
507 B
Plaintext
17 lines
507 B
Plaintext
// Observer Pattern Implementation: Z_Moved
|
|
// Registration type: /atom/movable
|
|
//
|
|
// Raised when: An /atom/movable instance has changed z-levels by any means.
|
|
//
|
|
// Arguments that the called proc should expect:
|
|
// /atom/movable/moving_instance: The instance that moved
|
|
// old_z: The z number before the move.
|
|
// new_z: The z number after the move.
|
|
|
|
|
|
GLOBAL_DATUM_INIT(z_moved_event, /decl/observ/z_moved, new)
|
|
|
|
/decl/observ/z_moved
|
|
name = "Z_Moved"
|
|
expected_type = /atom/movable
|