More OOP classes
This commit is contained in:
@@ -1,20 +1,14 @@
|
||||
package com.bernard.greposimu.engine.game;
|
||||
|
||||
import com.bernard.greposimu.model.game.GameData;
|
||||
import com.bernard.greposimu.model.game.GameConfig;
|
||||
|
||||
public class Game {
|
||||
|
||||
GameData data;
|
||||
public Heroes heroes;
|
||||
public Buildings buildings;
|
||||
public Fight fight;
|
||||
GameConfig data;
|
||||
|
||||
|
||||
public Game(GameData data) {
|
||||
public Game(GameConfig data) {
|
||||
this.data = data;
|
||||
this.heroes = new Heroes(this);
|
||||
this.buildings = new Buildings(this);
|
||||
this.fight = new Fight(this);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user