feat: wrote EntityDeserializer
This commit is contained in:
@ -1,10 +1,13 @@
|
||||
package uulm.teamname.marvelous.gamelibrary.entities;
|
||||
|
||||
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
|
||||
import uulm.teamname.marvelous.gamelibrary.IntVector2;
|
||||
import uulm.teamname.marvelous.gamelibrary.json.ingame.EntityDeserializer;
|
||||
|
||||
import java.util.Objects;
|
||||
|
||||
/** Represents an abstract entity. */
|
||||
@JsonDeserialize(using = EntityDeserializer.class)
|
||||
public abstract class Entity {
|
||||
/** Whether or not the entity is currently active in the game */
|
||||
protected boolean active = true;
|
||||
|
Reference in New Issue
Block a user