forked from Shardstone/trail-into-darkness
factored the character system - not funtional yet
This commit is contained in:
@@ -5,17 +5,17 @@ using UnityEngine;
|
||||
namespace Nox.Game {
|
||||
public class RestPlayMode : IPlayMode {
|
||||
private readonly PlatformSettings platformSettings;
|
||||
private readonly PartyData partyData;
|
||||
private readonly PartyDefinition partyDefinition;
|
||||
|
||||
public RestPlayMode(PlatformSettings platformSettings, PartyData partyData) {
|
||||
public RestPlayMode(PlatformSettings platformSettings, PartyDefinition partyDefinition) {
|
||||
this.platformSettings = platformSettings;
|
||||
this.partyData = partyData;
|
||||
this.partyDefinition = partyDefinition;
|
||||
}
|
||||
|
||||
public bool IsGameModeInitialized { get; private set; }
|
||||
|
||||
public void EnterPlayMode() {
|
||||
if(partyData == null) {
|
||||
if(partyDefinition == null) {
|
||||
Debug.LogWarning("RestPlayMode started without PartyData.");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user