The GameObject type exposes the following members.

Constructors

  NameDescription
Public methodGameObject()()()()
Initializes a new instance of the GameObject class.
Public methodGameObject(String)
Initializes a new instance of the GameObject class.

Methods

  NameDescription
Public methodStatic memberCreateEvent<(Of <<'(T>)>>)
Defines a game object event.
Public methodStatic memberCreateProperty<(Of <<'(T>)>>)
Defines a game object property.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodStatic memberGetEventMetadata()()()()
Gets the metadata of all game object events that were created with CreateEvent<(Of <<'(T>)>>)(String, String, String, T).
Public methodStatic memberGetEventMetadata<(Of <<'(T>)>>)(Int32)
Gets the metadata of the event with the given ID.
Public methodStatic memberGetEventMetadata<(Of <<'(T>)>>)(String)
Gets metadata for the event with the given name.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodStatic memberGetPropertyMetadata()()()()
Gets the metadata of all game object properties that were created with CreateProperty<(Of <<'(T>)>>)(String, String, String, T).
Public methodStatic memberGetPropertyMetadata<(Of <<'(T>)>>)(Int32)
Gets the metadata of the property with the given ID.
Public methodStatic memberGetPropertyMetadata<(Of <<'(T>)>>)(String)
Gets the metadata of the property with the given name.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetValue<(Of <<'(T>)>>)(Int32)
Gets the value of the property with the given ID.
Public methodGetValue<(Of <<'(T>)>>)(String)
Gets the value of the property with the given name.
Public methodGetValue<(Of <<'(T>)>>)(GamePropertyMetadata<(Of <<'(T>)>>))
Gets the value of the property with the given metadata.
Public methodLoad
Loads the content of the game object.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodNewFrame
Tells the game object to prepare itself for the next time step.
Protected methodOnLoad
Called when the game object should load its content.
Protected methodOnPropertyChanged(PropertyChangedEventArgs)
Raises the PropertyChanged event.
Protected methodOnPropertyChanged<(Of <<'(T>)>>)(GameProperty<(Of <<'(T>)>>), T, T)
Is called after a game object property was changed.
Protected methodOnTemplateChanged
Raises the TemplateChanged event.
Protected methodOnUnload
Called when the game object should unload its content.
Protected methodOnUpdate
Called when the game object should be updated.
Public methodSetValue<(Of <<'(T>)>>)(Int32, T)
Sets the value of the property with the given ID.
Public methodSetValue<(Of <<'(T>)>>)(String, T)
Sets the value of the property with the given name.
Public methodSetValue<(Of <<'(T>)>>)(GamePropertyMetadata<(Of <<'(T>)>>), T)
Set the value of the property for the given metadata.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUnload
Unloads the content of the game object.
Public methodUpdate
Updates this game object.

Properties

  NameDescription
Public propertyEvents
Gets the game object events.
Public propertyIsLoaded
Gets a value indicating whether the content of this object was loaded.
Public propertyName
Gets or sets the name.
Public propertyProperties
Gets the game object properties.
Public propertyTemplate
Gets or sets the template.

Events

  NameDescription
Public eventPropertyChanged
Occurs when a property value has changed.
Public eventTemplateChanged
Event raised after the Template has changed.

Explicit Interface Implementations

  NameDescription
Explicit interface implemetationPrivate eventINotifyPropertyChanged..::..PropertyChanged
Occurs when a property value has changed.
Explicit interface implemetationPrivate methodIAnimatableObject..::..GetAnimatableProperty<(Of <<'(T>)>>)
Gets the property with given name and type which can be animated.
Explicit interface implemetationPrivate methodIAnimatableObject..::..GetAnimatedProperties
Gets either the properties which are currently animated, or all properties which can be animated. (See remarks.)

See Also