Code Search for Developers
 
 
  

Sector.php from Astrum Futura at Krugle


Show Sector.php syntax highlighted

<?php

class Sector extends Parth_Db_Row {
 
    protected $data = array(
        'id' => null,
        'coord' => null,
        'x' => null,
        'y' => null
    );
 
    public function __construct($fields=null, $dao=null) {
        parent::__construct($fields, $dao);
        $config = Zend::registry('config');
        $this->tableName = $config->db->prefix . '_' . 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