blitz-foundation / monkey2

zlib License
3 stars 0 forks source link

"Enabled" property for Entities #110

Open Pharmhaus-2 opened 5 years ago

Pharmhaus-2 commented 5 years ago

Original Author: DoctorWhoof

Hi,

It would be great if Entities had an "Enabled" property to allow temporary suspension of its components' "OnUpdate( elapsed )" method, as well as other update methods like "OnBeginUpdate" and "OnEndUpdate".

Just to be clear, this shouldn't affect visibility, which would still be controlled by Entity.Visible. Thanks!