public interface

Textdraw

implements TextdrawBase
net.gtaun.shoebill.object.Textdraw

Summary

Constants
int INVALID_ID
[Expand]
Inherited Constants
From interface net.gtaun.shoebill.object.TextdrawBase
Public Methods
abstract static Textdraw create(float x, float y, String text)
Create a Textdraw with params.
abstract static Textdraw create(float x, float y)
Create a Textdraw with params.
abstract static Textdraw create(Vector2D pos)
Create a Textdraw with params.
abstract static Textdraw create(Vector2D pos, String text)
Create a Textdraw with params.
abstract static Textdraw get(int id)
abstract static Collection<Textdraw> get()
abstract void hide(Player player)
abstract void hideForAll()
abstract boolean isShowed(Player player)
abstract void show(Player player)
abstract void showForAll()
[Expand]
Inherited Methods
From interface net.gtaun.shoebill.object.Destroyable
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 Textdraw create (float x, float y, String text)

Create a Textdraw with params. If the Creation fails, it will throw a CreationFailedException.

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

public static abstract Textdraw create (float x, float y)

Create a Textdraw with params. If the Creation fails, it will throw a CreationFailedException.

Parameters
x X-Pos where the Textdraw should be.
y Y-Pos where the Textdraw should be.
Returns
  • The created Textdraw.

public static abstract Textdraw create (Vector2D pos)

Create a Textdraw with params. If the Creation fails, it will throw a CreationFailedException.

Parameters
pos Vector2D-Position where the Textdraw should be.
Returns
  • The created Textdraw.

public static abstract Textdraw create (Vector2D pos, String text)

Create a Textdraw with params. If the Creation fails, it will throw a CreationFailedException.

Parameters
pos Vector2D-Position where the Textdraw should be.
text The displayed Text.
Returns
  • The created Textdraw.

public static abstract Textdraw get (int id)

public static abstract Collection<Textdraw> get ()

public abstract void hide (Player player)

public abstract void hideForAll ()

public abstract boolean isShowed (Player player)

public abstract void show (Player player)

public abstract void showForAll ()