2017-05-11 00:52:05 +02:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections;
|
2017-05-10 17:37:58 +02:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using UnityEngine;
|
2017-05-11 00:52:05 +02:00
|
|
|
|
using UnityEngine.Networking;
|
2017-05-10 17:37:58 +02:00
|
|
|
|
|
|
|
|
|
namespace Cyber.Entities.SyncBases {
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Base class for all interactible entities in the world.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public abstract class Interactable : SyncBase {
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// All interactables should implement their interactions by overriding this.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public abstract void Interact();
|
2017-05-11 00:52:05 +02:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Get Interaction information about this interactible.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <returns>The Interaction information.</returns>
|
|
|
|
|
public abstract InteractableSyncdata GetInteractableSyncdata();
|
2017-05-10 17:37:58 +02:00
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|