File: game.md

package info (click to toggle)
surgescript 0.6.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,200 kB
  • sloc: ansic: 15,748; sh: 61; javascript: 38; makefile: 13
file content (21 lines) | stat: -rw-r--r-- 530 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Game
====

Game settings. These are specified in *surge.cfg*, a file located at the root folder of the game.

*Available since:* Open Surge 0.6.1

Properties
----------

#### title

`title`: string, read-only.

The title of the game that is running on the engine. If unspecified, an empty string is returned.

#### version

`version`: string, read-only.

The version of the game that is running on the engine. If unspecified, an empty string is returned. Do not confuse it with [SurgeEngine.version](/engine/surgeengine#version).