This repository has been archived on 2026-04-30. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
Tortuga/misc/entity system.txt
T
2014-04-13 19:59:27 +10:00

14 lines
653 B
Plaintext

Entity: //the basic unit that is being stored in the primary container
enum Type type //this mimics the NetworkPacket pattern a bit, I wonder if it's a good idea or not
position //will always need to know it's location, because of the big maps
motion //probably not necessary for anything other than the players. Still might as well include it, since I'm using pretty much everything else
box //bounding box, because of reasons?
id //the unique entity ID. can be used to lookup an instance in a different container
entities include:
* Players
* Combat portals
* item drops? I don't know if these are visible in the world
* chests
* dungeon doors?