You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

OutOfBoundBlock.cs 491 B

1234567891011121314151617181920
  1. using Preparation.Interface;
  2. using Preparation.Utility;
  3. namespace GameClass.GameObj
  4. {
  5. /// <summary>
  6. /// 逻辑墙
  7. /// </summary>
  8. public class OutOfBoundBlock : GameObj, IOutOfBound
  9. {
  10. public OutOfBoundBlock(XY initPos) :
  11. base(initPos, int.MaxValue, GameObjType.OutOfBoundBlock)
  12. {
  13. this.CanMove = false;
  14. }
  15. public override bool IsRigid => true;
  16. public override ShapeType Shape => ShapeType.Square;
  17. }
  18. }