Beispiel #1
0
 protected override void OnEnter(SlimeContext context)
 {
     context.TouchFloor           = false;
     context.VerticalSpeed        = _settings.BounceSpeed;
     context.VerticalAcceleration = _settings.BounceAcceleration;
     context.HorizontalSpeed      = 0f;
 }
Beispiel #2
0
 protected override void OnEnter(SlimeContext context)
 {
     context.VerticalSpeed        = _settings.FallSpeed;
     context.VerticalAcceleration = _settings.FallAcceleration;
     context.HorizontalSpeed      = 0f;
 }