Newer
Older
DungeonShooting / DungeonShooting_Godot / src / framework / map / TileCellInfo.cs
  1.  
  2. using Godot;
  3.  
  4. /// <summary>
  5. /// 地图cell属性信息
  6. /// </summary>
  7. public class TileCellInfo
  8. {
  9. public TileCellInfo(int id, Vector2I? autotileCoord)
  10. {
  11. Id = id;
  12. AutotileCoord = autotileCoord;
  13. }
  14.  
  15. /// <summary>
  16. /// 在TileSet中的图块id
  17. /// </summary>
  18. public int Id;
  19. /// <summary>
  20. /// 如果是图块集, 该属性就表示在图块集的位置
  21. /// </summary>
  22. public Vector2I? AutotileCoord;
  23. }