diff --git a/Entity-Design.md b/Entity-Design.md index 5a7bc6a..fab6efd 100644 --- a/Entity-Design.md +++ b/Entity-Design.md @@ -2,3 +2,18 @@ The entities in the world (including players, NPCs, monsters, trees, interactive items like chests & loot, etc.) are considered entities. Each of these will need a position in the world, possibly motion, and definitely graphics. Therefore, a base entity class that has these fetures is not out of the question. +## Planned Entity Types + +* Base Entity +* Base Character +* Player Character +* Non Player Character +* Base Monster +* Tree +* Chest +* Items +* etc. + +## Inheritance Tree + +![inheritance tree diagram](wiki/images/inheritance-tree.png) \ No newline at end of file diff --git a/images/inheritance-tree.png b/images/inheritance-tree.png new file mode 100644 index 0000000..affc579 Binary files /dev/null and b/images/inheritance-tree.png differ diff --git a/screenshots/hello net.png b/images/screenshots/hello net.png similarity index 100% rename from screenshots/hello net.png rename to images/screenshots/hello net.png diff --git a/screenshots/select your poison.png b/images/screenshots/select your poison.png similarity index 100% rename from screenshots/select your poison.png rename to images/screenshots/select your poison.png diff --git a/screenshots/the beatles.png b/images/screenshots/the beatles.png similarity index 100% rename from screenshots/the beatles.png rename to images/screenshots/the beatles.png diff --git a/misc/inheritance-tree.class.violet b/misc/inheritance-tree.class.violet new file mode 100644 index 0000000..56e719a --- /dev/null +++ b/misc/inheritance-tree.class.violet @@ -0,0 +1,157 @@ + + + + + + + + BaseEntity + + + + + + x + + + 505.0 + + + + y + + + 111.0 + + + + 505.0 + 111.0 + + + + + + + + BaseCharacter + + + + + + x + + + 505.0 + + + + y + + + 201.0 + + + + 505.0 + 201.0 + + + + + + + + NonPlayerCharacter + + + + + + x + + + 580.0 + + + + y + + + 287.0 + + + + 580.0 + 287.0 + + + + + + + + PlayerCharacter + + + + + + x + + + 436.0 + + + + y + + + 291.0 + + + + 436.0 + 291.0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +