コード例 #1
0
        public ArrowStateEngine(
            IConstArg arg
            )
        {
            thisArrow = arg.arrow;

            AbsState.IConstArg stateConstArg = new AbsState.ConstArg(
                thisArrow,
                this
                );
            thisNockedState      = new NockedState(stateConstArg);
            thisFlightState      = new FlightState(stateConstArg);
            thisDeactivatedState = new DeactivatedState(stateConstArg);
        }
コード例 #2
0
 static DeactivatedState()
 {
     Instance = new DeactivatedState();
 }