Driftwood2D / Driftwood

Driftwood 2D Tiling Game Engine and Development Suite
http://tileengine.org/
MIT License
24 stars 1 forks source link

Custom triggers #116

Closed pmer closed 7 years ago

pmer commented 7 years ago

Fixes #54.

Some duplicated code, but otherwise pretty straightforward.

Adds custom triggers to area properties and tile object properties. Does not restrict the event types to either of the properties. So you can define an on_tile property inside an area and an on_focus on a tile object. This could be more strict, but the base functionality is there.

seisatsu commented 7 years ago

Looks sound to me.