mirror of
https://github.com/wega-team/ss14-wega.git
synced 2026-02-14 19:30:01 +01:00
* Make vox roundstart I believe all the issues are fixed. * Click detection bandaid * Make clickable 1% nicer Still bad. Still doesn't handle multi-viewports well.
18 lines
435 B
C#
18 lines
435 B
C#
namespace Content.Client.Clickable;
|
|
|
|
[RegisterComponent]
|
|
public sealed partial class ClickableComponent : Component
|
|
{
|
|
[DataField] public DirBoundData? Bounds;
|
|
|
|
[DataDefinition]
|
|
public sealed partial class DirBoundData
|
|
{
|
|
[DataField] public Box2 All;
|
|
[DataField] public Box2 North;
|
|
[DataField] public Box2 South;
|
|
[DataField] public Box2 East;
|
|
[DataField] public Box2 West;
|
|
}
|
|
}
|