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.
|
# 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.
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ const WALK_SPEED = 50
|
|||||||
|
|
||||||
enum State {
|
enum State {
|
||||||
WALKING,
|
WALKING,
|
||||||
DYING
|
DYING,
|
||||||
}
|
}
|
||||||
|
|
||||||
var state = State.WALKING
|
var state = State.WALKING
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ extends Actor
|
|||||||
|
|
||||||
enum State {
|
enum State {
|
||||||
WALKING,
|
WALKING,
|
||||||
DEAD
|
DEAD,
|
||||||
}
|
}
|
||||||
|
|
||||||
var _state = State.WALKING
|
var _state = State.WALKING
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user