예제 #1
0
파일: Actor.cs 프로젝트: jconbere/BearGame
        public void BeginInteraction(GameTime time, Interaction inter)
        {
            ActiveInteraction = inter;
            inter.OnBegin(this, time);

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