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.

Wall.cs 400 B

1234567891011121314151617
  1. using Preparation.Utility;
  2. namespace GameClass.GameObj
  3. {
  4. /// <summary>
  5. /// 墙体
  6. /// </summary>
  7. public class Wall : Immovable
  8. {
  9. public Wall(XY initPos) :
  10. base(initPos, GameData.numOfPosGridPerCell / 2, GameObjType.Wall)
  11. {
  12. }
  13. public override bool IsRigid => true;
  14. public override ShapeType Shape => ShapeType.Square;
  15. }
  16. }