Scripting

From theFarWilds
Revision as of 16:42, 14 March 2010 by Jed (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This is the start of the scripting API. It will be expanded over time. If you want something ask for it in the forum.

Functions you can implement:

void setupGame(); // Sets up the game state such as # of players, Map Size, if they need to set a deck or not, etc

void beforeStart(); // Do things here before any action. Place creatures and buildings, change their decks etc.

void afterAction();

void playersTurn(IPlayer player);


Functions you can call:


Example Scripts: