[Intro] [Instrumental]
There was a train station catering to millions.
[Verse 1] Everyday trains come by and halt at this station, millions get on the train
[Intro] [Instrumental]
There was a train station catering to millions.
[Verse 1] Everyday trains come by and halt at this station, millions get on the train
extends GridMap | |
enum Roads {ROAD_END = 9, ROAD_STARIGHT = 15, ROAD_CURVE = 11, ROAD_EMPTY = 12, ROAD_3_WAY = 13, ROAD_4_WAY = 14} | |
const RAY_LENGTH = 1000 | |
var send_ray = false | |
var event_position = Vector2(0, 0) | |
var camera = null | |
var last_road: Vector3 = Vector3() |
Single-line comments are started with //
. Multi-line comments are started with /*
and ended with */
.
C# uses braces ({
and }
) instead of indentation to organize code into blocks.
If a block is a single line, the braces can be omitted. For example,
{ | |
"grinning": "\ud83d\ude00", | |
"smiley": "\ud83d\ude03", | |
"smile": "\ud83d\ude04", | |
"grin": "\ud83d\ude01", | |
"laughing": "\ud83d\ude06", | |
"satisfied": "\ud83d\ude06", | |
"sweat_smile": "\ud83d\ude05", | |
"joy": "\ud83d\ude02", | |
"rofl": "\ud83e\udd23", |
{ | |
"grinning": { | |
"emoji": "\ud83d\ude00" | |
}, | |
"smiley": { | |
"emoji": "\ud83d\ude03" | |
}, | |
"smile": { | |
"emoji": "\ud83d\ude04" | |
}, |