constant.ts 312 B

12345678910111213141516171819202122
  1. export class constant {
  2. public static EnemyPlaneType = {
  3. TYPE1: 1,
  4. TYPE2: 2,
  5. }
  6. public static Combination = {
  7. PLAN1: 1,
  8. PLAN2: 2,
  9. PLAN3: 3,
  10. }
  11. public static CollisionType = {
  12. SELF_PLANE: 1 << 1,
  13. ENEMY_PLANE: 1 << 2,
  14. SELF_BULLET: 1<< 3
  15. }
  16. }