Method | Description | |
---|---|---|
AddNewItemAtMouse ( |
||
CancelCreatingEntity ( ) : void | ||
Canvas ( IMainForm mainForm, IModel model ) : System | ||
CreateSelectionRectangle ( ) : void | ||
Draw ( |
||
SetModeTo ( UserActionInEditor userAction ) : void | ||
SetModeToIdle ( ) : void | ||
SetMousePosition ( int screenx, int screeny ) : void | ||
SetViewportSize ( |
||
SnapToGrid ( Vector2 input ) : Vector2 | ||
StartCopyingSelectedItems ( ) : void | ||
StartCreatingEntityAfterNextClick ( IEntityCreationProperties properties ) : void | ||
StartCreatingEntityNow ( IEntityCreationProperties properties ) : |
||
StartMovingCamera ( ) : void | ||
StartMovingSelectedItems ( ) : void | ||
StartRotatingItems ( ) : void | ||
StartScalingSelectedItems ( ) : void | ||
StopCreatingEntity ( ) : void | ||
TrySetCameraZoom ( float zoom ) : void | ||
Update ( |
Method | Description | |
---|---|---|
addTheEntityCurrentlyBeingCreated ( ) : void | ||
buildPrimitiveEditorReadyForDesigning ( IEntityCreationProperties creationProperties ) : |
||
destroyPrimitiveBrush ( ) : void | ||
getLevel ( ) : |
||
handleCameraControls ( |
||
handleInput ( |
||
handleInputWhenAddingAnEntity ( ) : void | ||
handleUpdateWhenMovingTheCamera ( ) : void | ||
newModelLoaded ( object sender, |
||
safeGetManifestResourceStream ( string resourceName ) : Stream | ||
selectedEditors ( ) : IEnumerable |
||
startCreatingEntity ( IEntityCreationProperties properties, bool addToCanvasNow ) : void | ||
startMoving ( ) : void | ||
textualRepresentationOfZoom ( float zoom ) : string | ||
tryGetItemAtPosition ( Vector2 mouseworldpos ) : |
public AddNewItemAtMouse ( |
||
newEditor | ||
return | void |
public Canvas ( IMainForm mainForm, IModel model ) : System | ||
mainForm | IMainForm | |
model | IModel | |
return | System |
public Draw ( |
||
gameTime | ||
graphicsDevice | GraphicsDevice | |
spriteBatch | ||
return | void |
public SetModeTo ( UserActionInEditor userAction ) : void | ||
userAction | UserActionInEditor | |
return | void |
public SetMousePosition ( int screenx, int screeny ) : void | ||
screenx | int | |
screeny | int | |
return | void |
public SetViewportSize ( |
||
size | ||
return | void |
public SnapToGrid ( Vector2 input ) : Vector2 | ||
input | Vector2 | |
return | Vector2 |
public StartCreatingEntityAfterNextClick ( IEntityCreationProperties properties ) : void | ||
properties | IEntityCreationProperties | |
return | void |
public StartCreatingEntityNow ( IEntityCreationProperties properties ) : |
||
properties | IEntityCreationProperties | |
return |
public TrySetCameraZoom ( float zoom ) : void | ||
zoom | float | |
return | void |
public Update ( |
||
gameTime | ||
return | void |