ideas: added some

This commit is contained in:
2017-04-20 18:28:30 -07:00
parent 76c37e3741
commit 0af466d2a9
2 changed files with 42 additions and 0 deletions

23
ideas/concept.txt Normal file
View File

@@ -0,0 +1,23 @@
What if I have static representations of a character, and have mutable modifers to that static state.
i.e.
struct {
int x,
int y,
int health,
}monster
monster goblin;
goblin.x = 5;
goblin.y = 5;
goblin.health = 45;
int goblin.health.mod;
goblin.health.mod = -5 (took dmg);
current_goblin_health = goblin.health + goblin.health.mod
something like that...