1 decade ago by Bushstar
How do I access the property values of my player from other entities?
I only have one instance of the main player defined as game.entities.player. I have other entities that need to change their behaviour depending on the properties of the main player so I need a way to access those properties.
I only have one instance of the main player defined as game.entities.player. I have other entities that need to change their behaviour depending on the properties of the main player so I need a way to access those properties.