public void BeginInteraction(GameTime time, Interaction inter) { ActiveInteraction = inter; inter.OnBegin(this, time); if (!inter.IsActive) { inter.OnEnd(this, time); ActiveInteraction = null; } }