11 lines
213 B
PHP
11 lines
213 B
PHP
<?php
|
|
|
|
namespace swf2ass;
|
|
|
|
|
|
class Square extends Rectangle {
|
|
public function __construct(Vector2 $topLeft, $size = 1) {
|
|
parent::__construct($topLeft, $topLeft->add(new Vector2($size, $size)));
|
|
}
|
|
}
|