Open ericoporto opened 2 days ago
@ivan-mogilko should the layer parameter be of the type RenderLayer like in the case of WaitInput ?
Yes, that parameter may be changed to the enum.
Other idea I had was making the enums that are flag like start with f instead of e, but here I asked about this one specific because I noticed the other case I knew of flag in the API used enum as the parameter type. I didn't remember other case of this...
https://github.com/adventuregamestudio/ags-manual/wiki/DynamicSprite#dynamicspritecreatefromscreenshot
need to explain that the parameter
int layer
is to be used like flags of the RenderLayer enum, which accepts either any or a boolean combination of them. See https://adventuregamestudio.github.io/ags-manual/Globalfunctions_Wait.html?highlight=waitinput&case_sensitive=0#waitinput for an example.The RenderLayer enum should be documented too in standard enums, see #259
@ivan-mogilko should the layer parameter be of the type RenderLayer like in the case of WaitInput ?