Class ActorSpeedMessage
Represents a message containing the speed of an actor. This message is used to notify other systems or components, such as a speedometer, about the actor's current speed.
public class ActorSpeedMessage : IMessage
Inheritance
Implements
Constructors
ActorSpeedMessage(float)
Initializes a new instance of the ActorSpeedMessage class message.
public ActorSpeedMessage(float speed)
Parameters
| Name | Type | Description |
|---|---|---|
speed | float | The actor's speed. |