예제 #1
0
        /// 初期化
        public static bool Init()
        {
            graphics = new GraphicsContext();
            SampleDraw.Init(graphics);

            screenWidth  = graphics.Screen.Width;
            screenHeight = graphics.Screen.Height;

            // Gets the state of the object from PersistentMemory
            persistentMemoryData = PersistentMemory.Read();

            // Set status of the object from the contents from PersistentMemory
            SetupObjects();

            return(true);
        }