Exemplo n.º 1
0
    public void RaiseStartDifuseEvent(float time)
    {
        StartDifuseEvent evnt = StartDifuseEvent.Create(entity, EntityTargets.OnlyController);

        evnt.Time = time;
        evnt.Send();
    }
Exemplo n.º 2
0
 public override void OnEvent(StartDifuseEvent evnt)
 {
     _playerMotor.Difuse(evnt.Time);
 }