Added games
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
package com.bernard.nodecames.model;
|
||||
|
||||
import jakarta.annotation.Nullable;
|
||||
import jakarta.persistence.Entity;
|
||||
import jakarta.persistence.Id;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
@AllArgsConstructor
|
||||
@Getter
|
||||
@Setter
|
||||
public class World {
|
||||
|
||||
Game game;
|
||||
|
||||
String name;
|
||||
|
||||
// Config used when resetting this world
|
||||
GridConfig initialConfig;
|
||||
|
||||
@Nullable
|
||||
Grid currentGrid;
|
||||
|
||||
boolean won;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user