Hi having a few problems with static keyword, and also some clarification of use would be nice.
We have a DataHelper (saving and loading data) and ItemMenu (will display a menu when a button is pressed) class set as static, because they will not ever be instantiated, is that a correct way to think of it?
Or will ItemMenu be instantiated just the once and therefore should be not static?
They both are very empty classes and will be filled later, but the problem right now is we have an Assets class that contains a bunch of [embed] tags filled with the images, .oel levels etc. My understanding again is that Assets will not be instantiated as an object, merely it is like a container for all these? However it will not compile with Assets being a static class.
Error: The static attribute may be used only on definitions inside a class.
Tried to make my post generic as possible, not sure if the code snips will help. Literally all that is in the Assets class is [Embed]'s
Thanks for any guidance