コード例 #1
0
        void IUpdateable.Update(TimeSpan elapsedInFrame)
        {
            var screen = Engine.GetScreenBoundary();

            if (screen.GetExitingSide(Object.Position, Object.Position.Width, Object.Position.Height) != BorderSide.None)
            {
                Object.Remove();
            }
        }