Code Search for Developers
 
 
  

Ship.php from Astrum Futura at Krugle


Show Ship.php syntax highlighted

<?php

require_once 'Quantum/Db/Row.php';

class Astrum_Ship extends Quantum_Db_Row {

	protected $data = array(
		'id' => null,
		'name' => null,
		'player_id' => null,
		'fleet_id' => null
	);

	public function __construct($fields=null, $dao=null) {
		parent::__construct($fields, $dao);
		$this->tableName = strtolower(__CLASS__);
		$this->className = __CLASS__;
		$this->primaryKey = 'id';
	}

}



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

  Fleet.php
  Game.php
  Player.php
  Sector.php
  Ship.php
  User.php