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.

Tile.cs 623 B

12345678910111213141516171819202122
  1. using Preparation.Interface;
  2. using Preparation.Utility;
  3. namespace GameClass.GameObj
  4. {
  5. /// <summary>
  6. /// 一切游戏元素的总基类,与THUAI4不同,继承IMoveable接口(出于一切物体其实都是可运动的指导思想)——LHR
  7. /// </summary>
  8. public abstract class Tile : GameObj
  9. {
  10. public override XY Position => position;
  11. public override XY FacingDirection => facingDirection;
  12. public override bool CanMove => false;
  13. public Tile(XY initPos, int initRadius, GameObjType initType) : base(initPos, initRadius, initType)
  14. {
  15. }
  16. }
  17. }