rf-web/vendor/bundle/gems/rouge-3.12.0/lib/rouge/demos/gdscript
2019-10-21 10:18:17 +02:00

19 lines
243 B
Plaintext

extends Node
# Variables & Built-in Types
var a = 5
var b = true
var s = "Hello"
var arr = [1, 2, 3]
# Constants & Enums
const ANSWER = 42
enum { UNIT_NEUTRAL, UNIT_ENEMY, UNIT_ALLY }
# Functions
func _ready():
print("Hello, World")