public CoffeeMovementComponent(string id, ControllerType controllerType, ActivationType activationType, float timePercent, Smoother.SmoothingMethod smoothingMethod, Coffee coffee) : base(id, controllerType, activationType, timePercent, smoothingMethod) { parent = coffee; coffeeParent = coffee; }
public PathMovementComponent(string id, ControllerType controllerType, ActivationType activationType, float timePercent, Smoother.SmoothingMethod smoothingMethod) : base(id, controllerType, activationType) { this.timePercent = timePercent; movementTime = (int)(GameConstants.MovementCooldown * timePercent * 1000); this.smoothingMethod = smoothingMethod; }
protected AnimationEvent(AnimationEventData animationEventData) { actor = animationEventData.actor; destination = animationEventData.destination; maxTime = animationEventData.maxTime; smoothing = animationEventData.smoothing; loopMethod = animationEventData.loopMethod; isRelative = animationEventData.isRelative; body = animationEventData.body; callback = animationEventData.callback; resetAfterDone = animationEventData.resetAferDone; }
public DoorMovementComponent(string id, ControllerType controllerType, ActivationType activationType, float timePercent, Smoother.SmoothingMethod smoothingMethod) : base(id, controllerType, activationType, timePercent, smoothingMethod) { }