-
Notifications
You must be signed in to change notification settings - Fork 37
EntityJsonSerializer
jmpala edited this page Aug 14, 2020
·
1 revision
PassiveSystem
that implementing the JsonSerializer
interface reads and writes components in Json (through jsonbeans library).
On its constructor, the member variable Map<String, Class<? extends Component>> componentClasses
is loaded with all the component classes, calling the system as follow componentSystem.getBy(ComponentSystem.Visibility.SERVER)
.
The read()
and write()
method are implemented, as to read and write components with Json.
- IntelliJ
- Windows JDK
- Linux JDK
- Run client and server localhost
- Host a public server
- Import project to IntelliJ