mirror of
https://github.com/godotengine/godot-demo-projects.git
synced 2025-12-16 13:30:07 +01:00
Add trailing commas to enums
This commit is contained in:
@@ -9,10 +9,15 @@ const IMAGE_SIZE = Vector2(930, 720)
|
||||
|
||||
# Enums for the various modes and brush shapes that can be applied.
|
||||
enum BrushModes {
|
||||
PENCIL, ERASER, CIRCLE_SHAPE, RECTANGLE_SHAPE
|
||||
PENCIL,
|
||||
ERASER,
|
||||
CIRCLE_SHAPE,
|
||||
RECTANGLE_SHAPE,
|
||||
}
|
||||
|
||||
enum BrushShapes {
|
||||
RECTANGLE, CIRCLE
|
||||
RECTANGLE,
|
||||
CIRCLE,
|
||||
}
|
||||
|
||||
# The top-left position of the canvas.
|
||||
|
||||
@@ -5,7 +5,7 @@ const WALK_SPEED = 50
|
||||
|
||||
enum State {
|
||||
WALKING,
|
||||
DYING
|
||||
DYING,
|
||||
}
|
||||
|
||||
var state = State.WALKING
|
||||
|
||||
@@ -4,7 +4,7 @@ extends Actor
|
||||
|
||||
enum State {
|
||||
WALKING,
|
||||
DEAD
|
||||
DEAD,
|
||||
}
|
||||
|
||||
var _state = State.WALKING
|
||||
|
||||
@@ -6,7 +6,7 @@ namespace AndroidInAppPurchasesWithCSharp.GodotGooglePlayBilling
|
||||
public enum PurchaseType
|
||||
{
|
||||
InApp,
|
||||
Subs
|
||||
Subs,
|
||||
}
|
||||
|
||||
public class GooglePlayBilling : Node
|
||||
|
||||
@@ -9,7 +9,7 @@ namespace AndroidInAppPurchasesWithCSharp.GodotGooglePlayBilling
|
||||
{
|
||||
UnspecifiedState = 0,
|
||||
Purchased = 1,
|
||||
Pending = 2
|
||||
Pending = 2,
|
||||
}
|
||||
|
||||
public class Purchase
|
||||
|
||||
Reference in New Issue
Block a user