1. Official support for entity class specific hooks. Something like this:
Code: Select all
defineHooks{
id='myHooks'
class='Monster',
onMove=function(monst)
end,
priority=1
}
Code: Select all
defineHooks{
id='mySnailHook',
entityName='snail',
onMove=function(monst)
end
priority=2
}
defineHooks{
id='someOtherSnailHook',
entityName='snail',
onMove=function(monst)
end
priority=3
}
Code: Select all
removeHooks{
id='someOtherSnailHooks',
entityName='snail'
}
4. And publish all entity (and component) properties as a read only variables by default, there is no need for getter-methods.
Thanks