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

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