1 decade ago by wilson
Hi!
I need some way to store sth on class level and not per instance. I found this in the documentation:
http://impactjs.com/documentation/class-reference/class#staticinstantiate-function
But using MyEntity.someVar from an instance of MyEntity does not really work. What am I doing wrong or is it just not possible?
Thanks!
I need some way to store sth on class level and not per instance. I found this in the documentation:
http://impactjs.com/documentation/class-reference/class#staticinstantiate-function
But using MyEntity.someVar from an instance of MyEntity does not really work. What am I doing wrong or is it just not possible?
Thanks!