コード例 #1
0
 internal override void ApplyToState(State state, Nanobot bot)
 {
     bot.Pos       = bot.Pos + mSld1 + mSld2;
     state.Energy += 2 * (mSld1.Mlen() + 2 + mSld2.Mlen());
 }
コード例 #2
0
 internal override void ApplyToState(State state, Nanobot bot)
 {
     bot.Pos      += mLld;
     state.Energy += 2 * mLld.Mlen();
 }