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.

IMap.cs 595 B

1234567891011121314151617181920
  1. using System.Collections.Concurrent;
  2. using System.Collections.Generic;
  3. using System.Threading;
  4. using Preparation.Utility;
  5. namespace Preparation.Interface
  6. {
  7. public interface IMap
  8. {
  9. ITimer Timer { get; }
  10. // the two dicts must have same keys
  11. Dictionary<GameObjType, LockedClassList<IGameObj>> GameObjDict { get; }
  12. public uint[,] ProtoGameMap { get; }
  13. public PlaceType GetPlaceType(IGameObj obj);
  14. public bool IsOutOfBound(IGameObj obj);
  15. public IOutOfBound GetOutOfBound(XY pos); // 返回新建的一个OutOfBound对象
  16. }
  17. }