adding multiplayer
This commit is contained in:
@@ -1,11 +1,8 @@
|
||||
using RebootKit.Engine.Foundation;
|
||||
using Unity.Collections;
|
||||
using UnityEngine;
|
||||
|
||||
namespace RebootKit.Engine.Services.Simulation {
|
||||
namespace RebootKit.Engine.Simulation {
|
||||
public abstract class Actor : MonoBehaviour {
|
||||
[field: SerializeField]
|
||||
public SerializableGuid ActorGuid { get; private set; } = SerializableGuid.New();
|
||||
|
||||
bool m_IsPlaying = false;
|
||||
public bool IsPlaying {
|
||||
get {
|
||||
@@ -39,7 +36,13 @@ namespace RebootKit.Engine.Services.Simulation {
|
||||
public virtual void OnEndPlay() {
|
||||
}
|
||||
|
||||
public virtual void OnTick(float deltaTime) {
|
||||
public virtual void Tick(float deltaTime) {
|
||||
}
|
||||
|
||||
public virtual void SerializeNetworkState(ref DataStreamWriter writer) {
|
||||
}
|
||||
|
||||
public virtual void DeserializeNetworkState(ref DataStreamReader reader) {
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user