2021-12-06 02:49:27 +03:00
|
|
|
|
using System;
|
|
|
|
|
using BlueWest.Core;
|
|
|
|
|
using BlueWest.Core.ComponentSystem;
|
2022-08-19 19:47:35 +03:00
|
|
|
|
using PerformanceSolution.Core.System;
|
2021-12-06 02:49:27 +03:00
|
|
|
|
|
|
|
|
|
namespace BlueWest.Artefacts
|
|
|
|
|
{
|
2022-08-19 19:47:35 +03:00
|
|
|
|
public class WorldArtefact: Artefact
|
2021-12-06 02:49:27 +03:00
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
public WorldArtefact()
|
|
|
|
|
{
|
|
|
|
|
Frequency = ArtefactFrequency.T30Hz;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
protected override void Start()
|
|
|
|
|
{
|
|
|
|
|
AddComponent<TimeManagement>();
|
2022-08-19 19:47:35 +03:00
|
|
|
|
Console.WriteLine("World Artefact enabled");
|
2021-12-06 02:49:27 +03:00
|
|
|
|
//BlueConsole.Log("World Artefact started");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
protected override void Update(double delta)
|
|
|
|
|
{
|
|
|
|
|
base.Update(delta);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
protected override void OnEnable()
|
|
|
|
|
{
|
|
|
|
|
base.OnEnable();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
protected override void OnDisable()
|
|
|
|
|
{
|
|
|
|
|
base.OnDisable();
|
|
|
|
|
}
|
2022-08-19 19:47:35 +03:00
|
|
|
|
}
|
2021-12-06 02:49:27 +03:00
|
|
|
|
}
|