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.
|
- using Preparation.Utility;
-
- namespace Preparation.Interface
- {
- public interface IGameObj
- {
- public GameObjType Type { get; }
- public long ID { get; }
- public XY Position { get; } // if Square, Pos equals the center
- public bool IsRigid { get; }
- public AtomicBool IsRemoved { get; }
- public ShapeType Shape { get; }
- public bool CanMove { get; }
- public int Radius { get; } // if Square, Radius equals half length of one side
- public bool IgnoreCollideExecutor(IGameObj targetObj); // 忽略碰撞,在具体类中实现
- }
- }
|