示例#1
0
        /// <summary>
        /// Creates the prefabs.
        /// </summary>
        /// <param name="game">The game.</param>
        public static void CreatePrefabs( FluxGame game )
        {
            MoveOverlaySprite = new MoveOverlaySprite( game );
            RotationOverlaySprite = new RotationOverlaySprite( game );

            game.SpriteManager.Add( MoveOverlaySprite );
            game.SpriteManager.Add( RotationOverlaySprite );
        }
示例#2
0
        /// <summary>
        /// Creates the prefabs.
        /// </summary>
        /// <param name="game">The game.</param>
        public static void CreatePrefabs ( FluxGame game ) {

            MoveOverlaySprite = new MoveOverlaySprite( game );
            RotationOverlaySprite = new RotationOverlaySprite( game );


            game.SpriteManager.Add( MoveOverlaySprite );
            game.SpriteManager.Add( RotationOverlaySprite );

        }