diff options
| author | Sarah B <git@sarahduck.ca> | 2023-12-24 21:45:26 -0800 |
|---|---|---|
| committer | Sarah B <git@sarahduck.ca> | 2023-12-24 21:45:26 -0800 |
| commit | a4874e186e24ce1736bfbda1deb0227597d2d690 (patch) | |
| tree | 9bf11b6521237547c860cbc775110a49ef938b30 /Mouse.cs | |
| parent | 0206e04e0a3542b8f0fc97996f1d885f7604a6fa (diff) | |
Added seperate nekoname
Diffstat (limited to 'Mouse.cs')
| -rw-r--r-- | Mouse.cs | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -23,6 +23,10 @@ abstract class Mouse : Drawable public override void Draw() { + Vector2 NametagPosition = new(Position.X-(Name.Length*3)+4, Position.Y-13); + Raylib.DrawTextEx(OnekoOnline.DefaultFont, Name, NametagPosition+Directions.Down, 11, 0, Color.BLACK); //Shadow + Raylib.DrawTextEx(OnekoOnline.DefaultFont, Name, NametagPosition, 11, 0, Color.WHITE); + Raylib.DrawTexture(CursorTex, (int)Position.X, (int)Position.Y, Color.WHITE); } |
