16 lines
292 B
PHP
16 lines
292 B
PHP
<?php
|
|
declare(strict_types=1);
|
|
|
|
namespace PHPNative\Event;
|
|
|
|
class SystemEvent implements Event
|
|
{
|
|
public function __construct(public EventType $type = EventType::NOOP, public int $windowId = 0)
|
|
{
|
|
}
|
|
|
|
public function getType(): EventType
|
|
{
|
|
return $this->type;
|
|
}
|
|
} |