Method | Description | |
---|---|---|
CanRotate ( ) : bool | ||
Clone ( ) : |
||
ContainsPoint ( Vector2 point ) : bool | ||
ConvexHullEditor ( ) : System | ||
CreateInDesignMode ( LayerEditor parentLayer, IEntityCreationProperties creationProperties ) : void | ||
DrawInEditor ( |
||
DrawSelectionFrame ( |
||
OnMouseButtonDown ( Vector2 mouseWorldPos ) : void | ||
OnMouseButtonUp ( Vector2 mouseWorldPos ) : void | ||
OnMouseOver ( Vector2 mouseWorldPos ) : void | ||
PropertiesChanged ( System.Windows.Forms.PropertyValueChangedEventArgs whatChanged ) : void | ||
RecreateFromXml ( LayerEditor parentLayer, System.Xml.Linq.XElement xml ) : void | ||
SetPosition ( Vector2 pos ) : void | ||
UserInteractionDuringCreation ( ) : void | ||
WhenChosenFromToolbox ( ) : void |
Method | Description | |
---|---|---|
WhenUpdatedByUi ( ) : void |
Calculates the WorldPoints based on Position and LocalPoints
|
Method | Description | |
---|---|---|
addWorldPoint ( Vector2 mouseWorldPos ) : void | ||
adjustPointsForNewPosition ( ) : void | ||
recalculate ( ) : void | ||
summonMainForm ( ) : IMainForm |
public ContainsPoint ( Vector2 point ) : bool | ||
point | Vector2 | |
return | bool |
public CreateInDesignMode ( LayerEditor parentLayer, IEntityCreationProperties creationProperties ) : void | ||
parentLayer | LayerEditor | |
creationProperties | IEntityCreationProperties | |
return | void |
public DrawInEditor ( |
||
spriteBatch | ||
return | void |
public 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 UserInteractionDuringCreation ( ) : void | ||
return | void |