public interface

PlayerTextdraw

implements PlayerRelated TextdrawBase
net.gtaun.shoebill.object.PlayerTextdraw

Summary

Constants
int INVALID_ID
[Expand]
Inherited Constants
From interface net.gtaun.shoebill.object.TextdrawBase
Public Methods
abstract static PlayerTextdraw create(Player player, float x, float y, String text)
Create a Textdraw which is only visible for one player, with params.
abstract static PlayerTextdraw create(Player player, float x, float y)
Create a Textdraw which is only visible for one player, with params.
abstract static PlayerTextdraw create(Player player, Vector2D pos)
Create a Textdraw which is only visible for one player, with params.
abstract static PlayerTextdraw create(Player player, Vector2D pos, String text)
Create a Textdraw which is only visible for one player, with params.
abstract static Collection<PlayerTextdraw> get(Player player)
abstract static PlayerTextdraw get(Player player, int id)
abstract void hide()
abstract boolean isShowed()
abstract void show()
[Expand]
Inherited Methods
From interface net.gtaun.shoebill.object.Destroyable
From interface net.gtaun.shoebill.object.PlayerRelated
From interface net.gtaun.shoebill.object.Proxyable
From interface net.gtaun.shoebill.object.TextdrawBase

Constants

public static final int INVALID_ID

Constant Value: 65535 (0x0000ffff)

Public Methods

public static abstract PlayerTextdraw create (Player player, float x, float y, String text)

Create a Textdraw which is only visible for one player, with params. If the Creation fails, it will throw a CreationFailedException.

Parameters
player The Player who sees the Textdraw.
x X-Pos where the Textdraw should be.
y Y-Pos where the Textdraw should be.
text The displayed Text.
Returns
  • The created PlayerTextdraw.

public static abstract PlayerTextdraw create (Player player, float x, float y)

Create a Textdraw which is only visible for one player, with params. If the Creation fails, it will throw a CreationFailedException.

Parameters
player The Player who sees the Textdraw.
x X-Pos where the Textdraw should be.
y Y-Pos where the Textdraw should be.
Returns
  • The created PlayerTextdraw.

public static abstract PlayerTextdraw create (Player player, Vector2D pos)

Create a Textdraw which is only visible for one player, with params. If the Creation fails, it will throw a CreationFailedException.

Parameters
player The Player who sees the Textdraw.
pos Vector2D-Position where the Textdraw should be.
Returns
  • The created PlayerTextdraw.

public static abstract PlayerTextdraw create (Player player, Vector2D pos, String text)

Create a Textdraw which is only visible for one player, with params. If the Creation fails, it will throw a CreationFailedException.

Parameters
player The Player who sees the Textdraw.
pos Vector2D-Position where the Textdraw should be.
text The displayed Text.
Returns
  • The created PlayerTextdraw.

public static abstract Collection<PlayerTextdraw> get (Player player)

public static abstract PlayerTextdraw get (Player player, int id)

public abstract void hide ()

public abstract boolean isShowed ()

public abstract void show ()