using Sandbox.Game.World;
using Torch.API.Managers;
namespace Torch.API.Session
{
///
/// Represents the Torch code working with a single game session
///
public interface ITorchSession
{
///
/// The Torch instance this session is bound to
///
ITorchBase Torch { get; }
///
/// The Space Engineers game session this session is bound to.
///
MySession KeenSession { get; }
///
/// Currently running world
///
IWorld World { get; }
///
IDependencyManager Managers { get; }
///
/// The current state of the session
///
TorchSessionState State { get; }
///
/// Event raised when the changes.
///
event TorchSessionStateChangedDel StateChanged;
}
}