示例#1
0
文件: Cursor.cs 项目: zpconn/TheGrid
        public Cursor( Renderer renderer, string materialName, Size size )
        {
            this.renderer = renderer;

            this.size = size;
            surface = new Surface( renderer, materialName, size );

            mouse = new MouseDevice( null );
        }
示例#2
0
文件: Cursor.cs 项目: zpconn/TheGrid
        public Cursor( Renderer renderer, string materialName, Size size,
            float movementScaleFactor)
        {
            this.renderer = renderer;

            this.size = size;
            this.movementScaleFactor = movementScaleFactor;
            surface = new Surface( renderer, materialName, size );

            mouse = new MouseDevice( null );
        }