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