コード例 #1
0
        public RemovingComponentVisuals(Components.Component c)
        {
            var a = GraphicsEngine.Renderer;

            fbo = new RenderTarget2D(a.GraphicsDevice, Main.WindowWidth, Main.WindowHeight);
            g   = c.Graphics;
        }
コード例 #2
0
ファイル: CSComponent.cs プロジェクト: XZelnar/MicroWorld
 public CSComponent(CSComponent c)
 {
     avalable = c.avalable;
     enabled = c.enabled;
     componentGraphics = c.componentGraphics;
     isFavourite = c.isFavourite;
     drawCount = c.drawCount;
     objType = c.objType;
     IsDragDropPlacement = c.IsDragDropPlacement;
     Name = c.Name;
 }
コード例 #3
0
ファイル: CSComponent.cs プロジェクト: XZelnar/MicroWorld
 public CSComponent(CSComponent c)
 {
     avalable            = c.avalable;
     enabled             = c.enabled;
     componentGraphics   = c.componentGraphics;
     isFavourite         = c.isFavourite;
     drawCount           = c.drawCount;
     objType             = c.objType;
     IsDragDropPlacement = c.IsDragDropPlacement;
     Name = c.Name;
 }
コード例 #4
0
 public RemovingComponentVisuals(Components.Component c)
 {
     var a = GraphicsEngine.Renderer;
     fbo = new RenderTarget2D(a.GraphicsDevice, Main.WindowWidth, Main.WindowHeight);
     g = c.Graphics;
 }