Pink/Assets/Scripts/Events/EnableControl.cs

15 lines
313 B
C#
Raw Permalink Normal View History

2020-10-01 18:11:43 +01:00
using Pink.Environment;
namespace Pink.Events
{
public class EnableControl : Simulation.Event<EnableControl>
{
EnvironmentModel state = Simulation.GetModel<EnvironmentModel>();
public override void Execute()
{
state.player.controlAllowed = true;
}
}
}