using Platformer.Core; using Platformer.Mechanics; using Platformer.Model; namespace Platformer.Gameplay { /// /// Fired when a player enters a trigger with a DeathZone component. /// /// public class PlayerEnteredDeathZone : Simulation.Event { public DeathZone deathzone; PlatformerModel model = Simulation.GetModel(); public override void Execute() { Simulation.Schedule(0); } } }