All Questions
Tagged with inheritance c#
5
questions
5
votes
1answer
1k views
Making TypeNameHandling in json.net more convenient
Handling abstract types in json.net can be sometimes challenging because it requires a very long and complex syntax like:
...
2
votes
1answer
117 views
Growing potatoes in delayed sequences
In order to grow potatoes I'm implementing the retry pattern. If I fail to grow them, I'd like to try it again later. The first part I've implemented is a collection of delay generators.
Their base ...
16
votes
5answers
4k views
Mini RPG equipment code
what do you think about this code? It's upgraded version of:
Classes representing items in an RPG game
...
4
votes
1answer
261 views
Improving XNA's default project template
I hope this isn't getting annoying, but I've asked a lot of questions about improving my game lately:
How can I improve my game project design?
Using the observer pattern with collision detection
Is ...
3
votes
1answer
2k views
Classes representing items in an RPG game
I wrote a little program in C# that contains classes representing Items in RPG game. I wanted to have access to all inherited classes parameters from list contains parent Item class instances, so this ...