| Conditions | 1 |
| Paths | 1 |
| Total Lines | 16 |
| Code Lines | 14 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 9 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 34 | 14 | public function __construct( |
|
| 35 | Group $group, |
||
| 36 | $name, |
||
| 37 | $sizeX, |
||
| 38 | $sizeY, |
||
| 39 | $posX = null, |
||
| 40 | $posY = null |
||
| 41 | ) { |
||
| 42 | 14 | $this->group = $group; |
|
| 43 | 14 | $this->name = $name; |
|
| 44 | 14 | $this->sizeX = $sizeX; |
|
| 45 | 14 | $this->sizeY = $sizeY; |
|
| 46 | 14 | $this->posX = $posX; |
|
| 47 | 14 | $this->posY = $posY; |
|
| 48 | 14 | $this->id = spl_object_hash($this); |
|
| 49 | 14 | } |
|
| 50 | |||
| 80 | } |