22 lines
495 B
C#
22 lines
495 B
C#
using System;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using BlueWest.Core;
|
|
using BlueWest.Core.ComponentSystem;
|
|
using BlueWest.Coroutines;
|
|
using BlueWest.Tools;
|
|
|
|
namespace BlueWest.Artefacts
|
|
{
|
|
public class TimeManagement : Component
|
|
{
|
|
public TimeManagement(EventManager eventManager) : base(eventManager) { }
|
|
|
|
public override void Update(double delta)
|
|
{
|
|
Time.time += delta;
|
|
Time.deltaTime = delta;
|
|
}
|
|
|
|
}
|
|
} |