Property | Type | Description | |
---|---|---|---|
PreviewEndedReadyForCreation | EventHandler |
Method | Description | |
---|---|---|
AddBehaviour ( IBehaviour behaviour ) : void | ||
CanRotate ( ) : bool | ||
Clone ( ) : |
||
ContainsPoint ( Vector2 point ) : bool | ||
CreateInDesignMode ( LayerEditor parentLayer, IEntityCreationProperties creationProperties ) : void |
Called when the user starts creating something, e.g. a Rectangle will have a position but no height or width as this is set when the user moves the pointer around. Another example is the Path object. This initially just has 1 point (that start point) and the user add points by clicking around.
|
|
DrawInEditor ( |
||
DrawSelectionFrame ( |
||
HandleKeyPressWhenFocused ( ) : void | ||
OnMouseButtonDown ( Vector2 mouseWorldPos ) : void | ||
OnMouseButtonUp ( Vector2 mouseWorldPos ) : void | ||
OnMouseOut ( ) : void | ||
OnMouseOver ( Vector2 mouseWorldPos ) : void | ||
PropertiesChanged ( System.Windows.Forms.PropertyValueChangedEventArgs whatChanged ) : void | ||
RecreateFromXml ( LayerEditor parentLayer, System.Xml.Linq.XElement xml ) : void | ||
RenameTo ( string name ) : void | ||
SetPosition ( Vector2 position ) : void | ||
ToXml ( ) : System.Xml.Linq.XElement | ||
ToggleSelection ( ) : void | ||
Update ( |
||
UserInteractionDuringCreation ( ) : void | ||
WhenChosenFromToolbox ( ) : void |
Method | Description | |
---|---|---|
ItemEditor ( ) : System | ||
WhenUpdatedByUi ( ) : void |
public AddBehaviour ( IBehaviour behaviour ) : void | ||
behaviour | IBehaviour | |
return | void |
public abstract ContainsPoint ( Vector2 point ) : bool | ||
point | Vector2 | |
return | bool |
public abstract CreateInDesignMode ( LayerEditor parentLayer, IEntityCreationProperties creationProperties ) : void | ||
parentLayer | LayerEditor | |
creationProperties | IEntityCreationProperties | |
return | void |
public abstract DrawInEditor ( |
||
spriteBatch | ||
return | void |
public abstract DrawSelectionFrame ( |
||
spriteBatch | ||
color | Color | |
return | void |
public OnMouseButtonDown ( Vector2 mouseWorldPos ) : void | ||
mouseWorldPos | Vector2 | |
return | void |
public OnMouseButtonUp ( Vector2 mouseWorldPos ) : void | ||
mouseWorldPos | Vector2 | |
return | void |
public OnMouseOver ( Vector2 mouseWorldPos ) : void | ||
mouseWorldPos | Vector2 | |
return | void |
public PropertiesChanged ( System.Windows.Forms.PropertyValueChangedEventArgs whatChanged ) : void | ||
whatChanged | System.Windows.Forms.PropertyValueChangedEventArgs | |
return | void |
public RecreateFromXml ( LayerEditor parentLayer, System.Xml.Linq.XElement xml ) : void | ||
parentLayer | LayerEditor | |
xml | System.Xml.Linq.XElement | |
return | void |
public SetPosition ( Vector2 position ) : void | ||
position | Vector2 | |
return | void |
public Update ( |
||
gameTime | ||
return | void |
public abstract UserInteractionDuringCreation ( ) : void | ||
return | void |