Code Search for Developers
 
 
  

Interface.php from Astrum Futura at Krugle


Show Interface.php syntax highlighted

<?php
/**
 * @internal
 * Quantum Game Library
 *
 * LICENSE
 *
 * This source file is subject to the new BSD license that is bundled
 * with this package in the text file LICENSE located in the root
 * directory of this library.
 * It is also available through the internet at this URL:
 * http://doc.astrumfutura.com/license.html
 *
 * If you did not receive a copy of the license and are unable to
 * obtain it through the internet, please send an email
 * to license@astrumfutura.com so we can send you a copy.
 *
 * @package    Map
 * @subpackage Placement
 * @category   Quantum
 * @copyright  Copyright (c) 2007 The QGL Group (refer to COPYRIGHT file)
 * @version    $Id: Interface.php 210 2007-02-03 02:55:49Z santosj $
 * @license    http://doc.astrumfutura.com/license.html     New BSD License
 */

/**
 * @package    Map
 * @subpackage Placement
 * @category   Quantum
 * @author     Pádraic Brady (http://blog.astrumfutura.com)
 */
interface Quantum_Map_Placement_Interface
{

    /*
     * Accepts a Transfer Object parameter.
     * Will calculate a coordinate for the placement returning it
     * as a Quantum_Coordinate value object. Does not alter the paramter
     * object (since this is outside it's scope.
     */
    public function place($object);

}



See more files for this project here

Astrum Futura

Multiplayer space strategy game written in PHP5 with the Zend Framework. User interface uses Javascript/AJAX for dynamic interaction. Players compete across a hexagonal map of 10,000 sectors, planets, stars and other locations through trade and combat.

Project homepage: http://sourceforge.net/projects/astrumfutura
Programming language(s): PHP,XML
License: other

  Interface.php