Interface IActorsComponent.IManagedInterface
Represents the managed interface implemented by its unmanaged counterpart.
public interface IActorsComponent.IManagedInterface : IUnmanagedInterface
- Inherited Members
Methods
Create(int, Vector3, float)
Creates a new actor in the game world.
IActor Create(int skin, Vector3 pos, float angle)
Parameters
skinintThe skin ID of the actor.
posVector3The position where the actor will be created.
anglefloatThe facing angle of the actor.
Returns
- IActor
The created actor instance.
GetEventDispatcher()
Gets the event dispatcher for actor-related events.
IEventDispatcher<IActorEventHandler> GetEventDispatcher()
Returns
- IEventDispatcher<IActorEventHandler>
An event dispatcher for actor-related events.