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 459 B

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