public StructureEditor() { instance = this; graphics = new GraphicsDeviceManager(this); Content.RootDirectory = "Content"; graphics.PreferredBackBufferWidth = SCREEN_WIDTH; graphics.PreferredBackBufferHeight = SCREEN_HEIGHT; graphics.ApplyChanges(); Window.Title = "Structure Editor"; }
public StructureEditPanel(Rectangle bounds, StructureEditor editor) : base(bounds) { blocks = new HashSet <StructureBlockInfo>(); this.editor = editor; Reset(); }