Пример #1
0
        /// <inheritdoc />
        public override bool OnActorAttemptedEnter(GameContext context, Actor actor)
        {
            if (!actor.IsPlayer)
            {
                return(false);
            }

            context.AdvanceToNextLevel();

            return(false); // Don't allow the context to think that we've moved within the level
        }