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.

IGameObj.cs 705 B

1234567891011121314151617181920
  1. using Preparation.Utility;
  2. namespace Preparation.Interface
  3. {
  4. public interface IGameObj
  5. {
  6. public GameObjType Type { get; }
  7. public long ID { get; }
  8. public XYPosition Position { get; } // if Square, Pos equals the center
  9. public double FacingDirection { get; }
  10. public bool IsRigid { get; }
  11. public ShapeType Shape { get; }
  12. public bool CanMove { get; set; }
  13. public bool IsMoving { get; set; }
  14. public bool IsResetting { get; set; } // reviving
  15. public bool IsAvailable { get; }
  16. public int Radius { get; } // if Square, Radius equals half length of one side
  17. public PlaceType Place { get; set; }
  18. }
  19. }