Nazariglez / Gecko2D

Cross-platform Game Framework
https://nazariglez.github.io/Gecko2D
MIT License
50 stars 6 forks source link

Use macros to "mark" a component as "typeOfComponent" #68

Closed Nazariglez closed 6 years ago

Nazariglez commented 6 years ago

Add the flag @:isComponentType() to allow entities store components of this type to avoid the use of Std.is at runtime.