Package | Description |
---|---|
bwapi |
Modifier and Type | Field and Description |
---|---|
static Color |
Color.Black
The color black.
|
static Color |
Color.Black
The color black.
|
static Color |
Color.Blue
The default color for Player 2.
|
static Color |
Color.Blue
The default color for Player 2.
|
static Color |
Color.Brown
The default color for Player 6.
|
static Color |
Color.Brown
The default color for Player 6.
|
static Color |
Color.Cyan
The default color for Neutral (Player 12).
|
static Color |
Color.Cyan
The default color for Neutral (Player 12).
|
static Color |
Color.Green
The alternate color for Player 7 on Ice tilesets.
|
static Color |
Color.Green
The alternate color for Player 7 on Ice tilesets.
|
static Color |
Color.Grey
The color grey.
|
static Color |
Color.Grey
The color grey.
|
static Color |
Color.Orange
The default color for Player 5.
|
static Color |
Color.Orange
The default color for Player 5.
|
static Color |
Color.Purple
The default color for Player 4.
|
static Color |
Color.Purple
The default color for Player 4.
|
static Color |
Color.Red
The default color for Player 1.
|
static Color |
Color.Red
The default color for Player 1.
|
static Color |
Color.Teal
The default color for Player 3.
|
static Color |
Color.Teal
The default color for Player 3.
|
static Color |
Color.White
A bright white.
|
static Color |
Color.White
A bright white.
|
static Color |
Color.Yellow
The default color for Player 8.
|
static Color |
Color.Yellow
The default color for Player 8.
|
Modifier and Type | Method and Description |
---|---|
Color |
Player.getColor()
Retrieves the color value of the current player.
|
Color |
Player.getColor()
Retrieves the color value of the current player.
|
Modifier and Type | Method and Description |
---|---|
void |
Game.drawBox(CoordinateType ctype,
int left,
int top,
int right,
int bottom,
Color color) |
void |
Game.drawBox(CoordinateType ctype,
int left,
int top,
int right,
int bottom,
Color color) |
void |
Game.drawBox(CoordinateType ctype,
int left,
int top,
int right,
int bottom,
Color color,
boolean isSolid)
Draws a rectangle on the screen with the given color.
|
void |
Game.drawBox(CoordinateType ctype,
int left,
int top,
int right,
int bottom,
Color color,
boolean isSolid)
Draws a rectangle on the screen with the given color.
|
void |
Game.drawBoxMap(int left,
int top,
int right,
int bottom,
Color color) |
void |
Game.drawBoxMap(int left,
int top,
int right,
int bottom,
Color color) |
void |
Game.drawBoxMap(int left,
int top,
int right,
int bottom,
Color color,
boolean isSolid) |
void |
Game.drawBoxMap(int left,
int top,
int right,
int bottom,
Color color,
boolean isSolid) |
void |
Game.drawBoxMap(Position leftTop,
Position rightBottom,
Color color) |
void |
Game.drawBoxMap(Position leftTop,
Position rightBottom,
Color color) |
void |
Game.drawBoxMap(Position leftTop,
Position rightBottom,
Color color,
boolean isSolid) |
void |
Game.drawBoxMap(Position leftTop,
Position rightBottom,
Color color,
boolean isSolid) |
void |
Game.drawBoxMouse(int left,
int top,
int right,
int bottom,
Color color) |
void |
Game.drawBoxMouse(int left,
int top,
int right,
int bottom,
Color color) |
void |
Game.drawBoxMouse(int left,
int top,
int right,
int bottom,
Color color,
boolean isSolid) |
void |
Game.drawBoxMouse(int left,
int top,
int right,
int bottom,
Color color,
boolean isSolid) |
void |
Game.drawBoxMouse(Position leftTop,
Position rightBottom,
Color color) |
void |
Game.drawBoxMouse(Position leftTop,
Position rightBottom,
Color color) |
void |
Game.drawBoxMouse(Position leftTop,
Position rightBottom,
Color color,
boolean isSolid) |
void |
Game.drawBoxMouse(Position leftTop,
Position rightBottom,
Color color,
boolean isSolid) |
void |
Game.drawBoxScreen(int left,
int top,
int right,
int bottom,
Color color) |
void |
Game.drawBoxScreen(int left,
int top,
int right,
int bottom,
Color color) |
void |
Game.drawBoxScreen(int left,
int top,
int right,
int bottom,
Color color,
boolean isSolid) |
void |
Game.drawBoxScreen(int left,
int top,
int right,
int bottom,
Color color,
boolean isSolid) |
void |
Game.drawBoxScreen(Position leftTop,
Position rightBottom,
Color color) |
void |
Game.drawBoxScreen(Position leftTop,
Position rightBottom,
Color color) |
void |
Game.drawBoxScreen(Position leftTop,
Position rightBottom,
Color color,
boolean isSolid) |
void |
Game.drawBoxScreen(Position leftTop,
Position rightBottom,
Color color,
boolean isSolid) |
void |
Game.drawCircle(CoordinateType ctype,
int x,
int y,
int radius,
Color color) |
void |
Game.drawCircle(CoordinateType ctype,
int x,
int y,
int radius,
Color color) |
void |
Game.drawCircle(CoordinateType ctype,
int x,
int y,
int radius,
Color color,
boolean isSolid)
Draws a circle on the screen with the given color.
|
void |
Game.drawCircle(CoordinateType ctype,
int x,
int y,
int radius,
Color color,
boolean isSolid)
Draws a circle on the screen with the given color.
|
void |
Game.drawCircleMap(int x,
int y,
int radius,
Color color) |
void |
Game.drawCircleMap(int x,
int y,
int radius,
Color color) |
void |
Game.drawCircleMap(int x,
int y,
int radius,
Color color,
boolean isSolid) |
void |
Game.drawCircleMap(int x,
int y,
int radius,
Color color,
boolean isSolid) |
void |
Game.drawCircleMap(Position p,
int radius,
Color color) |
void |
Game.drawCircleMap(Position p,
int radius,
Color color) |
void |
Game.drawCircleMap(Position p,
int radius,
Color color,
boolean isSolid) |
void |
Game.drawCircleMap(Position p,
int radius,
Color color,
boolean isSolid) |
void |
Game.drawCircleMouse(int x,
int y,
int radius,
Color color) |
void |
Game.drawCircleMouse(int x,
int y,
int radius,
Color color) |
void |
Game.drawCircleMouse(int x,
int y,
int radius,
Color color,
boolean isSolid) |
void |
Game.drawCircleMouse(int x,
int y,
int radius,
Color color,
boolean isSolid) |
void |
Game.drawCircleMouse(Position p,
int radius,
Color color) |
void |
Game.drawCircleMouse(Position p,
int radius,
Color color) |
void |
Game.drawCircleMouse(Position p,
int radius,
Color color,
boolean isSolid) |
void |
Game.drawCircleMouse(Position p,
int radius,
Color color,
boolean isSolid) |
void |
Game.drawCircleScreen(int x,
int y,
int radius,
Color color) |
void |
Game.drawCircleScreen(int x,
int y,
int radius,
Color color) |
void |
Game.drawCircleScreen(int x,
int y,
int radius,
Color color,
boolean isSolid) |
void |
Game.drawCircleScreen(int x,
int y,
int radius,
Color color,
boolean isSolid) |
void |
Game.drawCircleScreen(Position p,
int radius,
Color color) |
void |
Game.drawCircleScreen(Position p,
int radius,
Color color) |
void |
Game.drawCircleScreen(Position p,
int radius,
Color color,
boolean isSolid) |
void |
Game.drawCircleScreen(Position p,
int radius,
Color color,
boolean isSolid) |
void |
Game.drawDot(CoordinateType ctype,
int x,
int y,
Color color)
Draws a dot on the map or screen with a given color.
|
void |
Game.drawDot(CoordinateType ctype,
int x,
int y,
Color color)
Draws a dot on the map or screen with a given color.
|
void |
Game.drawDotMap(int x,
int y,
Color color) |
void |
Game.drawDotMap(int x,
int y,
Color color) |
void |
Game.drawDotMap(Position p,
Color color) |
void |
Game.drawDotMap(Position p,
Color color) |
void |
Game.drawDotMouse(int x,
int y,
Color color) |
void |
Game.drawDotMouse(int x,
int y,
Color color) |
void |
Game.drawDotMouse(Position p,
Color color) |
void |
Game.drawDotMouse(Position p,
Color color) |
void |
Game.drawDotScreen(int x,
int y,
Color color) |
void |
Game.drawDotScreen(int x,
int y,
Color color) |
void |
Game.drawDotScreen(Position p,
Color color) |
void |
Game.drawDotScreen(Position p,
Color color) |
void |
Game.drawEllipse(CoordinateType ctype,
int x,
int y,
int xrad,
int yrad,
Color color) |
void |
Game.drawEllipse(CoordinateType ctype,
int x,
int y,
int xrad,
int yrad,
Color color) |
void |
Game.drawEllipse(CoordinateType ctype,
int x,
int y,
int xrad,
int yrad,
Color color,
boolean isSolid)
Draws an ellipse on the screen with the given color.
|
void |
Game.drawEllipse(CoordinateType ctype,
int x,
int y,
int xrad,
int yrad,
Color color,
boolean isSolid)
Draws an ellipse on the screen with the given color.
|
void |
Game.drawEllipseMap(int x,
int y,
int xrad,
int yrad,
Color color) |
void |
Game.drawEllipseMap(int x,
int y,
int xrad,
int yrad,
Color color) |
void |
Game.drawEllipseMap(int x,
int y,
int xrad,
int yrad,
Color color,
boolean isSolid) |
void |
Game.drawEllipseMap(int x,
int y,
int xrad,
int yrad,
Color color,
boolean isSolid) |
void |
Game.drawEllipseMap(Position p,
int xrad,
int yrad,
Color color) |
void |
Game.drawEllipseMap(Position p,
int xrad,
int yrad,
Color color) |
void |
Game.drawEllipseMap(Position p,
int xrad,
int yrad,
Color color,
boolean isSolid) |
void |
Game.drawEllipseMap(Position p,
int xrad,
int yrad,
Color color,
boolean isSolid) |
void |
Game.drawEllipseMouse(int x,
int y,
int xrad,
int yrad,
Color color) |
void |
Game.drawEllipseMouse(int x,
int y,
int xrad,
int yrad,
Color color) |
void |
Game.drawEllipseMouse(int x,
int y,
int xrad,
int yrad,
Color color,
boolean isSolid) |
void |
Game.drawEllipseMouse(int x,
int y,
int xrad,
int yrad,
Color color,
boolean isSolid) |
void |
Game.drawEllipseMouse(Position p,
int xrad,
int yrad,
Color color) |
void |
Game.drawEllipseMouse(Position p,
int xrad,
int yrad,
Color color) |
void |
Game.drawEllipseMouse(Position p,
int xrad,
int yrad,
Color color,
boolean isSolid) |
void |
Game.drawEllipseMouse(Position p,
int xrad,
int yrad,
Color color,
boolean isSolid) |
void |
Game.drawEllipseScreen(int x,
int y,
int xrad,
int yrad,
Color color) |
void |
Game.drawEllipseScreen(int x,
int y,
int xrad,
int yrad,
Color color) |
void |
Game.drawEllipseScreen(int x,
int y,
int xrad,
int yrad,
Color color,
boolean isSolid) |
void |
Game.drawEllipseScreen(int x,
int y,
int xrad,
int yrad,
Color color,
boolean isSolid) |
void |
Game.drawEllipseScreen(Position p,
int xrad,
int yrad,
Color color) |
void |
Game.drawEllipseScreen(Position p,
int xrad,
int yrad,
Color color) |
void |
Game.drawEllipseScreen(Position p,
int xrad,
int yrad,
Color color,
boolean isSolid) |
void |
Game.drawEllipseScreen(Position p,
int xrad,
int yrad,
Color color,
boolean isSolid) |
void |
Game.drawLine(CoordinateType ctype,
int x1,
int y1,
int x2,
int y2,
Color color)
Draws a line on the map or screen with a given color.
|
void |
Game.drawLine(CoordinateType ctype,
int x1,
int y1,
int x2,
int y2,
Color color)
Draws a line on the map or screen with a given color.
|
void |
Game.drawLineMap(int x1,
int y1,
int x2,
int y2,
Color color) |
void |
Game.drawLineMap(int x1,
int y1,
int x2,
int y2,
Color color) |
void |
Game.drawLineMap(Position a,
Position b,
Color color) |
void |
Game.drawLineMap(Position a,
Position b,
Color color) |
void |
Game.drawLineMouse(int x1,
int y1,
int x2,
int y2,
Color color) |
void |
Game.drawLineMouse(int x1,
int y1,
int x2,
int y2,
Color color) |
void |
Game.drawLineMouse(Position a,
Position b,
Color color) |
void |
Game.drawLineMouse(Position a,
Position b,
Color color) |
void |
Game.drawLineScreen(int x1,
int y1,
int x2,
int y2,
Color color) |
void |
Game.drawLineScreen(int x1,
int y1,
int x2,
int y2,
Color color) |
void |
Game.drawLineScreen(Position a,
Position b,
Color color) |
void |
Game.drawLineScreen(Position a,
Position b,
Color color) |
void |
Game.drawTriangle(CoordinateType ctype,
int ax,
int ay,
int bx,
int by,
int cx,
int cy,
Color color) |
void |
Game.drawTriangle(CoordinateType ctype,
int ax,
int ay,
int bx,
int by,
int cx,
int cy,
Color color) |
void |
Game.drawTriangle(CoordinateType ctype,
int ax,
int ay,
int bx,
int by,
int cx,
int cy,
Color color,
boolean isSolid)
Draws a triangle on the screen with the given color.
|
void |
Game.drawTriangle(CoordinateType ctype,
int ax,
int ay,
int bx,
int by,
int cx,
int cy,
Color color,
boolean isSolid)
Draws a triangle on the screen with the given color.
|
void |
Game.drawTriangleMap(int ax,
int ay,
int bx,
int by,
int cx,
int cy,
Color color) |
void |
Game.drawTriangleMap(int ax,
int ay,
int bx,
int by,
int cx,
int cy,
Color color) |
void |
Game.drawTriangleMap(int ax,
int ay,
int bx,
int by,
int cx,
int cy,
Color color,
boolean isSolid) |
void |
Game.drawTriangleMap(int ax,
int ay,
int bx,
int by,
int cx,
int cy,
Color color,
boolean isSolid) |
void |
Game.drawTriangleMap(Position a,
Position b,
Position c,
Color color) |
void |
Game.drawTriangleMap(Position a,
Position b,
Position c,
Color color) |
void |
Game.drawTriangleMap(Position a,
Position b,
Position c,
Color color,
boolean isSolid) |
void |
Game.drawTriangleMap(Position a,
Position b,
Position c,
Color color,
boolean isSolid) |
void |
Game.drawTriangleMouse(int ax,
int ay,
int bx,
int by,
int cx,
int cy,
Color color) |
void |
Game.drawTriangleMouse(int ax,
int ay,
int bx,
int by,
int cx,
int cy,
Color color) |
void |
Game.drawTriangleMouse(int ax,
int ay,
int bx,
int by,
int cx,
int cy,
Color color,
boolean isSolid) |
void |
Game.drawTriangleMouse(int ax,
int ay,
int bx,
int by,
int cx,
int cy,
Color color,
boolean isSolid) |
void |
Game.drawTriangleMouse(Position a,
Position b,
Position c,
Color color) |
void |
Game.drawTriangleMouse(Position a,
Position b,
Position c,
Color color) |
void |
Game.drawTriangleMouse(Position a,
Position b,
Position c,
Color color,
boolean isSolid) |
void |
Game.drawTriangleMouse(Position a,
Position b,
Position c,
Color color,
boolean isSolid) |
void |
Game.drawTriangleScreen(int ax,
int ay,
int bx,
int by,
int cx,
int cy,
Color color) |
void |
Game.drawTriangleScreen(int ax,
int ay,
int bx,
int by,
int cx,
int cy,
Color color) |
void |
Game.drawTriangleScreen(int ax,
int ay,
int bx,
int by,
int cx,
int cy,
Color color,
boolean isSolid) |
void |
Game.drawTriangleScreen(int ax,
int ay,
int bx,
int by,
int cx,
int cy,
Color color,
boolean isSolid) |
void |
Game.drawTriangleScreen(Position a,
Position b,
Position c,
Color color) |
void |
Game.drawTriangleScreen(Position a,
Position b,
Position c,
Color color) |
void |
Game.drawTriangleScreen(Position a,
Position b,
Position c,
Color color,
boolean isSolid) |
void |
Game.drawTriangleScreen(Position a,
Position b,
Position c,
Color color,
boolean isSolid) |
Copyright © 2022. All rights reserved.