Skip to content
This repository has been archived by the owner on Dec 20, 2020. It is now read-only.

Should Entities declare a type-ID like items / voxels ? #5

Closed
Dakror opened this issue Jun 27, 2014 · 1 comment
Closed

Should Entities declare a type-ID like items / voxels ? #5

Dakror opened this issue Jun 27, 2014 · 1 comment

Comments

@Dakror
Copy link
Owner

Dakror commented Jun 27, 2014

Because it would make things look better in Serialization for Saving & Loading, Networking, ...

Just e.g declare either a csv table connecting classes with IDs or define an enum.
We can't just declare the ID in the Constructor becausewe need ID-lookup.
To circumvent that though one could make a static createById() function.

Decide....

@Dakror Dakror added this to the Alpha 0.1 milestone Jun 27, 2014
@Dakror
Copy link
Owner Author

Dakror commented Jul 4, 2014

We decided: CSV

@Dakror Dakror closed this as completed Jul 4, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant