From dfd49588cdc7d3f3ba5590fdead40ba900d3b88a Mon Sep 17 00:00:00 2001 From: Nomango <569629550@qq.com> Date: Wed, 23 May 2018 00:03:47 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=86=E8=8A=82=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/e2dcollider.h | 2 +- core/e2dshape.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/e2dcollider.h b/core/e2dcollider.h index f5f9b01d..7818e577 100644 --- a/core/e2dcollider.h +++ b/core/e2dcollider.h @@ -128,7 +128,7 @@ class Collider : public: // 碰撞体类别 - enum Type : int + enum class Type { NONE, /* 无 */ RECT, /* 矩形 */ diff --git a/core/e2dshape.h b/core/e2dshape.h index 64b945e6..17f718fa 100644 --- a/core/e2dshape.h +++ b/core/e2dshape.h @@ -11,7 +11,7 @@ class Shape : { public: // 形状样式 - enum Style : int + enum class Style { SOLID, /* 填充 */ ROUND, /* 轮廓 */