RuneHive-Game
Loading...
Searching...
No Matches
PlayerJSONProperty.java
Go to the documentation of this file.
1package com.runehive.game.world.entity.mob.player.persist;
2
3import com.google.gson.JsonElement;
4import com.runehive.game.world.entity.mob.player.Player;
5
6abstract class PlayerJSONProperty {
7
8 final String label;
9
11 this.label = label;
12 }
13
14 abstract void read(Player player, JsonElement property);
15
16 abstract Object write(Player player);
17
18}
This class represents a character controlled by a player.
Definition Player.java:125
abstract void read(Player player, JsonElement property)