public HackingActionState( ICharacter character, IStaticWorldObject worldObject) : base(character) { this.WorldObject = worldObject; this.protoHackableContainer = (IProtoObjectHackableContainer)worldObject.ProtoWorldObject; this.currentStageDurationSeconds = this.CalculateStageDurationSeconds(character, isFirstStage: true); this.currentStageTimeRemainsSeconds = this.currentStageDurationSeconds; this.SharedTryClaimObject(); }
public ProtoObjectHackableContainerViewModel([NotNull] IProtoObjectHackableContainer hackableContainer) : base(hackableContainer) { }