First commit
This commit is contained in:
commit
c6e2478c40
13918 changed files with 2303184 additions and 0 deletions
|
@ -0,0 +1,25 @@
|
|||
<?php
|
||||
|
||||
class shape_point
|
||||
{
|
||||
function __construct( $x, $y )
|
||||
{
|
||||
$this->x = $x;
|
||||
$this->y = $y;
|
||||
}
|
||||
}
|
||||
|
||||
class shape
|
||||
{
|
||||
function __construct( $colour )
|
||||
{
|
||||
$this->type = "shape";
|
||||
$this->colour = $colour;
|
||||
$this->values = array();
|
||||
}
|
||||
|
||||
function append_value( $p )
|
||||
{
|
||||
$this->values[] = $p;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue