コード例 #1
0
ファイル: Being.cs プロジェクト: Averus/ShonenBattleFork2
 public void Update()
 {
     if (isInTheCurrentRound == false && isCommittedToAction == false && hasTakenAction == false)
     {
         //this should perhaps be an ability itself or check if this being is unconcious etc
         isInTheCurrentRound = true;
         rollReflex();
         BeingToken bt = new BeingToken(this, rollReflex());
         actionManager.AddToBeingQueue(bt);
     }
 }
コード例 #2
0
 public void AddToBeingQueue(BeingToken being)
 {
     LIST1.Add(being);
     SortList1();
 }