Search the Community
Showing results for tags 'csharp'.
Found 2 results
Long story short, my project Xeris is getting to the point where I need to start working on rendering the game objects so I can actually see them processing on screen. I was thinking of going with SFML.NET but figured I would ask around for opinions first. Please keep in mind that being able to google information on how to use the library is a plus, as I am not too familiar with them.
So I am currently trying to design the structures for entities in my game and have run into a little snag with how it calculates the max vitals for the vitals structure. The snag is that the formula needs EntityStats but EntityVitals does not have access to that, and I would prefer to keep it that way so I am not tossing references around the place. Here is my project structure for what I am working with. Data Entity - The entity object. Logic LogicEntities - The static class where my GetEntityMaxVital function will be. Strcutures EntityStat - A single entity stat structure. EntityStats - The structure that defines entity stats. EntityVital - A single entity vital structure. EntityVitals - The structure that defines entity vitals. Any help would be greatly appreciated. -XerShade