Click or drag to resize

BasicStateAddStateElementMotionT Method

Adds a Motion{T} element to this state. Calling code is responsible for ensuring that the motion is of a type that this state can store.

Namespace:  AGI.Foundation.Coordinates
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 19.1.398.0 (19.1.398.0)
Syntax
public void AddStateElementMotion<T>(
	string elementIdentification,
	Motion<T> motion
)

Parameters

elementIdentification
Type: SystemString
The name of the new element.
motion
Type: AGI.FoundationMotionT
The Motion{T} of the new element.

Type Parameters

T
The type of the Motion being added to the state.

Implements

IAdjustableStateAddStateElementMotionT(String, MotionT)
See Also