Entitas-Go icon indicating copy to clipboard operation
Entitas-Go copied to clipboard

Wrong type return value in Getters for basic type components

Open Neyasru opened this issue 2 years ago • 1 comments

The type of the return for Getters when they are basic types, and not structs, is wrong.

e.g.: On your example, the component Speed, when generate code the GetSpeed() method returns an Int, and it should return a *SpeedComponent

Please, keep developing this framework because it looks amazing! Good job guys.

Neyasru avatar Nov 01 '21 01:11 Neyasru