コード例 #1
0
 /// <summary>
 /// Updates the Danmaku controlled by the controller instance.
 /// </summary>
 /// <param name="danmaku">the bullet to update.</param>
 /// <param name="dt">the change in time since the last update</param>
 public void Update(Danmaku danmaku, float dt)
 {
     if (danmaku.frames > frames)
     {
         danmaku.DeactivateImmediate();
     }
 }