Add trailing commas to enums

This commit is contained in:
Aaron Franke
2020-10-30 03:24:51 -04:00
parent 4bba07257a
commit 159adfd421
5 changed files with 11 additions and 6 deletions

View File

@@ -9,10 +9,15 @@ const IMAGE_SIZE = Vector2(930, 720)
# Enums for the various modes and brush shapes that can be applied. # Enums for the various modes and brush shapes that can be applied.
enum BrushModes { enum BrushModes {
PENCIL, ERASER, CIRCLE_SHAPE, RECTANGLE_SHAPE PENCIL,
ERASER,
CIRCLE_SHAPE,
RECTANGLE_SHAPE,
} }
enum BrushShapes { enum BrushShapes {
RECTANGLE, CIRCLE RECTANGLE,
CIRCLE,
} }
# The top-left position of the canvas. # The top-left position of the canvas.

View File

@@ -5,7 +5,7 @@ const WALK_SPEED = 50
enum State { enum State {
WALKING, WALKING,
DYING DYING,
} }
var state = State.WALKING var state = State.WALKING

View File

@@ -4,7 +4,7 @@ extends Actor
enum State { enum State {
WALKING, WALKING,
DEAD DEAD,
} }
var _state = State.WALKING var _state = State.WALKING

View File

@@ -6,7 +6,7 @@ namespace AndroidInAppPurchasesWithCSharp.GodotGooglePlayBilling
public enum PurchaseType public enum PurchaseType
{ {
InApp, InApp,
Subs Subs,
} }
public class GooglePlayBilling : Node public class GooglePlayBilling : Node

View File

@@ -9,7 +9,7 @@ namespace AndroidInAppPurchasesWithCSharp.GodotGooglePlayBilling
{ {
UnspecifiedState = 0, UnspecifiedState = 0,
Purchased = 1, Purchased = 1,
Pending = 2 Pending = 2,
} }
public class Purchase public class Purchase