rf-web/vendor/bundle/gems/rouge-3.12.0/lib/rouge/demos/gdscript

19 lines
243 B
Plaintext
Raw Normal View History

2019-10-21 08:18:17 +00:00
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")