| GamePropertyT Structure |
Namespace: DigitalRune.Game
public struct GameProperty<T> : IGameProperty, INamedObject, IEquatable<GameProperty<T>>
The GamePropertyT type exposes the following members.
| Name | Description | |
|---|---|---|
| AsAnimatable |
Returns an IAnimatablePropertyT that can be used to animate this
GamePropertyT.
| |
| Equals(Object) |
Determines whether the specified Object is equal to this instance.
(Overrides ValueTypeEquals(Object).) | |
| Equals(GamePropertyT) |
Indicates whether the current object is equal to another object of the same type.
| |
| GetHashCode |
Returns a hash code for this instance.
(Overrides ValueTypeGetHashCode.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| Parse |
Parses the specified string and updates the Value.
| |
| Reset |
Removes any local values and sets the property to its default value.
| |
| ToString | Returns the fully qualified type name of this instance. (Inherited from ValueType.) |
| Name | Description | |
|---|---|---|
| Equality |
Compares two GamePropertyTs to determine whether they are the same.
| |
| (GamePropertyT to T) |
Returns the value of the specified GamePropertyT.
| |
| Inequality |
Compares two GamePropertyTs to determine whether they are different.
|
| Name | Description | |
|---|---|---|
| Change |
Event handler that automatically changes the value of the property.
| |
| HasLocalValue |
Gets a value indicating whether this property has a local value.
| |
| Metadata |
Gets the property metadata.
| |
| Name |
Gets the name.
| |
| Owner |
Gets the game object that owns this property.
| |
| Value |
Gets or sets the value.
|
| Name | Description | |
|---|---|---|
| Changed |
Occurs when the Value changed.
| |
| Changing |
Occurs when the Value is about to change.
|
| Name | Description | |
|---|---|---|
| IGamePropertyMetadata |
Gets the property metadata.
| |
| IGamePropertyValue |
Gets or sets the value.
|