Re: Structs
- Posted by Icy_Viking Jun 18, 2019
- 4444 views
I don't think adding to OOP to Euphoria would be a good idea. The idea of Euphoria is to be simple. I know structs are kinda like a low-key OOP, but they're still pretty easy to understand. Like my idea of structs (I did post about this earlier, but restating my position on keeping structs simple)
struct player integer health atom x_pos,y_pos string name end struct player.health = 100 player.x_pos = 15 player.y_pos = 15 player.name = "bob"
That would be my idea for structs, I think a couple other users had similar idea to mine.