コード例 #1
0
        public AbsShootingTarget(
            IConstArg arg
            ) : base(
                arg
                )
        {
            SetIndex(arg.index);
            thisTargetData = arg.targetData;
            thisAdaptor.SetName(thisTargetData.targetType.ToString() + " " + thisIndex.ToString());

            thisActivationStateEngine = new ActivationStateEngine(this);
            thisHealthBellCurve       = arg.healthBellCurve;

            thisHitFlashProcessSuite = new ProcessSuite(
                thisProcessManager,
                this,
                ProcessConstraint.ExpireTime,
                thisShootingTargetAdaptor.GetFlashProcessTime()
                );
            thisHitAnimationProcessSuite = new ProcessSuite(
                thisProcessManager,
                this,
                ProcessConstraint.ExpireTime,
                thisShootingTargetAdaptor.GetHitAnimationProcessTime()
                );
            thisSpawnAnimationProcessSuite = new ProcessSuite(
                thisProcessManager,
                this,
                ProcessConstraint.ExpireTime,
                thisShootingTargetAdaptor.GetSpawnAnimationProcessTime()
                );
        }
コード例 #2
0
 public ArrowTrail(
     IConstArg arg
     ) : base(arg)
 {
     thisFadeTime    = arg.fadeTime;
     thisStateEngine = new ActivationStateEngine(this);
 }
コード例 #3
0
 public LandedArrow(
     IConstArg arg
     ) : base(
         arg
         )
 {
     thisIndex = arg.index;
     thisActivationStateEngine = new ActivationStateEngine(this);
 }
コード例 #4
0
 public DestroyedTarget(
     IConstArg arg
     ) : base(
         arg
         )
 {
     thisIndex = arg.index;
     thisActivationStateEngine = new ActivationStateEngine(this);
 }
コード例 #5
0
 public GameplayWidget(IConstArg arg) : base(arg)
 {
     thisActivationEngine         = new ActivationStateEngine(this);
     thisWaitAndStartProcessSuite = new ProcessSuite(
         thisProcessManager,
         this,
         ProcessConstraint.ExpireTime,
         thisStartWaitTime
         );
 }
コード例 #6
0
 public TutorialTitle(IConstArg arg)     : base(arg)
 {
     thisActivationStateEngine = new ActivationStateEngine(this);
     thisProcessSuite          = new ProcessSuite(
         thisProcessManager,
         this,
         ProcessConstraint.ExpireTime,
         thisTutorialTitleAdaptor.GetShowProcessTime()
         );
 }
コード例 #7
0
 public HeadUpDisplay(
     IConstArg arg
     ) : base(
         arg
         )
 {
     thisActivationStateEngine  = new ActivationStateEngine(this);
     thisActivationProcessSuite = new ProcessSuite(
         thisProcessManager,
         this,
         ProcessConstraint.ExpireTime,
         thisTypedAdaptor.GetActivationTime()
         );
     thisDeactivationProcessSuite = new ProcessSuite(
         thisProcessManager,
         this,
         ProcessConstraint.ExpireTime,
         thisTypedAdaptor.GetDeactivationTime()
         );
 }
コード例 #8
0
 public BowConfigWidget(IConstArg arg) : base(arg)
 {
     thisActivationStateEngine = new ActivationStateEngine(this);
 }