GOOC - Game Oriented Object C
GOOC - Game Oriented Object C
7.10. Field Access Operator
7.10. Field Access Operator
You can use the member access operator -> to access the GOOL field of an object (pointer). You put the name of the link variable on the left side of the operator, and the name of the field on the right side.
velx = creator->velx