24 lines
412 B
PHP
24 lines
412 B
PHP
<?php
|
|
|
|
namespace NoccyLabs\Spinner\Style;
|
|
|
|
class BrailleBounceStyle implements StyleInterface
|
|
{
|
|
public function getFrames(): array
|
|
{
|
|
return [
|
|
mb_chr(0x2809),
|
|
mb_chr(0x2812),
|
|
mb_chr(0x2824),
|
|
mb_chr(0x28c0),
|
|
mb_chr(0x2824),
|
|
mb_chr(0x2812),
|
|
];
|
|
}
|
|
|
|
public function getWidth(): int
|
|
{
|
|
return 1;
|
|
}
|
|
}
|