Felix Boucher ef8a70aba4 finish to hijack update loop + serialization
problem : tiles dont have an update loop, neither do they have a start / destroy method

solution : finished working on a way to create a custom start/update/destroy pipeline for the projects custom tiles. it's using LevelManagerScript as to Update.

note : also created a database and a start of serialization system so we can save and load stuff.
2023-05-27 20:38:42 -04:00

13 lines
301 B
C#

using System.Collections.Generic;
using UnityEngine;
public interface ILevelObject
{
string Name { get; }
Vector3 Position { get; }
void LevelUpdate();
void LevelStart();
void LevelDestroy();
bool Equals(ILevelObject other);
Dictionary<string, object> ToDictionary();
}