Пример #1
0
        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();
        }
Пример #2
0
 public ProtoObjectHackableContainerViewModel([NotNull] IProtoObjectHackableContainer hackableContainer)
     : base(hackableContainer)
 {
 }