Exemplo n.º 1
0
        public void BeginInteraction(GameTime time, Interaction inter)
        {
            ActiveInteraction = inter;
            inter.OnBegin(this, time);

            if (!inter.IsActive)
            {
                inter.OnEnd(this, time);
                ActiveInteraction = null;
            }
        }