C# Class Treefrog.Framework.Model.ObjectInstance

Inheritance: IResource, IPropertyProvider, ICloneable, ISerializable
Mostrar archivo Open project: jaquadro/Treefrog Class Usage Examples

Private Properties

Property Type Description
CalculateRectangleBounds Treefrog.Framework.Imaging.Rectangle
CheckUpdateBounds void
ObjectInstance System
UpdateBounds void

Public Methods

Method Description
Clone ( ) : object
FromXProxy ( LevelX proxy, IObjectPoolManager manager ) : ObjectInstance
GetObjectData ( SerializationInfo info, StreamingContext context ) : void
ObjectInstance ( ObjectClass objClass ) : System
ObjectInstance ( ObjectClass objClass, int posX, int posY ) : System
ObjectInstance ( ObjectInstance inst ) : System
ObjectInstance ( SerializationInfo info, StreamingContext context ) : System
PostDeserialize ( Project project ) : void
PreSerialize ( ) : void
ResetModified ( ) : void
ToXProxy ( ObjectInstance inst ) : LevelX.ObjectInstanceX

Protected Methods

Method Description
OnModified ( EventArgs e ) : void
OnPositionChanged ( EventArgs e ) : void
OnPropertyProviderNameChanged ( EventArgs e ) : void
OnRotationChanged ( EventArgs e ) : void

Private Methods

Method Description
CalculateRectangleBounds ( Rectangle rect, float angle ) : Rectangle
CheckUpdateBounds ( ) : void
ObjectInstance ( LevelX proxy, ObjectClass objClass ) : System
UpdateBounds ( ) : void

Method Details

Clone() public method

public Clone ( ) : object
return object

FromXProxy() public static method

public static FromXProxy ( LevelX proxy, IObjectPoolManager manager ) : ObjectInstance
proxy Treefrog.Framework.Model.Proxy.LevelX
manager IObjectPoolManager
return ObjectInstance

GetObjectData() public method

public GetObjectData ( SerializationInfo info, StreamingContext context ) : void
info System.Runtime.Serialization.SerializationInfo
context System.Runtime.Serialization.StreamingContext
return void

ObjectInstance() public method

public ObjectInstance ( ObjectClass objClass ) : System
objClass ObjectClass
return System

ObjectInstance() public method

public ObjectInstance ( ObjectClass objClass, int posX, int posY ) : System
objClass ObjectClass
posX int
posY int
return System

ObjectInstance() public method

public ObjectInstance ( ObjectInstance inst ) : System
inst ObjectInstance
return System

ObjectInstance() public method

public ObjectInstance ( SerializationInfo info, StreamingContext context ) : System
info System.Runtime.Serialization.SerializationInfo
context System.Runtime.Serialization.StreamingContext
return System

OnModified() protected method

protected OnModified ( EventArgs e ) : void
e System.EventArgs
return void

OnPositionChanged() protected method

protected OnPositionChanged ( EventArgs e ) : void
e System.EventArgs
return void

OnPropertyProviderNameChanged() protected method

protected OnPropertyProviderNameChanged ( EventArgs e ) : void
e System.EventArgs
return void

OnRotationChanged() protected method

protected OnRotationChanged ( EventArgs e ) : void
e System.EventArgs
return void

PostDeserialize() public method

public PostDeserialize ( Project project ) : void
project Project
return void

PreSerialize() public method

public PreSerialize ( ) : void
return void

ResetModified() public method

public ResetModified ( ) : void
return void

ToXProxy() public static method

public static ToXProxy ( ObjectInstance inst ) : LevelX.ObjectInstanceX
inst ObjectInstance
return Treefrog.Framework.Model.Proxy.LevelX.ObjectInstanceX