示例#1
0
 public override void OnCollision(IEntity other, Point direction)
 {
     base.OnCollision(other, direction);
     if (other is BlockEntity)
     {
         walkingState.Enter();
     }
 }