using Platformer.Core;
using Platformer.Model;
namespace Platformer.Gameplay
{
///
/// This event is fired when user input should be enabled.
///
public class EnablePlayerInput : Simulation.Event
{
PlatformerModel model = Simulation.GetModel();
public override void Execute()
{
var player = model.player;
player.controlEnabled = true;
}
}
}