Zed. The source code to build a world.

story.php

Story

Zed. The immensity of stars. The HyperShip. The people.

(c) 2010, Dereckson, some rights reserved. Released under BSD license.

This controller is a storytelling engine allowing to explore a place like in fighting fantasy gamebooks / livres dont vous êtes le héros.

This controller is called by the explore controller and handles /explore URL.

It uses the Story classes, the story.tpl view and content/stories/*.xml as stories content datasource.

Tags
subpackage

Controllers

author

Sébastien Santoro aka Dereckson dereckson@espace-win.org

copyright

2010 Sébastien Santoro aka Dereckson

license

http://www.opensource.org/licenses/bsd-license.php BSD

version
0.1
link
http://scherzo.dereckson.be/doc/zed
link
http://zed.dereckson.be/
filesource
todo

Create a separate release from Zed based on this controller and the Story library.

todo

Add code to handle actions defined in choices like inventory management

Table of Contents

Functions

get_section()  : StorySection
Gets section to print to the user

Functions

get_section()

Gets section to print to the user

get_section(mixed $story) : StorySection
Parameters
$story : mixed
Return values
StorySection

the section, or null if not found


        
On this page

Search results