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

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