|
||||||||||
上一个类 下一个类 | 框架 无框架 | |||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |
java.lang.Objectnetsurfers.gicp.net.common.BitmapMgr
public class BitmapMgr
This class manager all the bitmap source
字段摘要 | |
---|---|
int |
ACTIONBAR
|
int |
BAGBOARD
|
int[] |
BITMAP
|
int |
CHARACTERBOARD
|
static int[] |
CREATURE
|
int |
DIALOGUEBOARD
|
static int[] |
GAMEOBJECT
|
int |
HEALTHBAR
|
static int[] |
ITEM
|
int |
MANABAR
|
int |
MAPBOARD
|
int |
MENUBAR
|
int[] |
PLAYER
|
int |
QUESTBOARD
|
static int[] |
SPELL
|
int |
SPELLBOARD
|
int |
STATEBARS
|
int |
SYSTEMBOARD
|
构造方法摘要 | |
---|---|
BitmapMgr(Resources res)
Constructor function of bitmap manager |
方法摘要 | |
---|---|
Bitmap |
getBitmap(int id)
You can get bitmap by resources id |
Bitmap |
getCreatureBitmap(int id)
You can get creature bitmap by resources id |
Bitmap |
getGameObjectBitmap(int id)
You can get game object bitmap by resources id |
Bitmap |
getItemBitmap(int id)
You can get item bitmap by resources id |
Bitmap |
getPlayerBitmap(int id)
You can get player bitmap by resources id |
Bitmap |
getSpellBitmap(int id)
You can get spell bitmap by resources id |
void |
release()
You can release all of the bitmap |
void |
releaseBitmap(int id)
You can release bitmap by resources id |
void |
releaseCreatureBitmap(int id)
You can release creature bitmap by resources id |
void |
releaseGameObjectBitmap(int id)
You can release game object bitmap by resources id |
void |
releaseItemBitmap(int id)
You can release item bitmap by resources id |
void |
releasePlayerBitmap(int id)
You can release player bitmap by resources id |
void |
releaseSpellBitmap(int id)
You can release spell bitmap by resources id |
Bitmap |
setBitmap(int id)
You can set bitmap by resources id |
从类 java.lang.Object 继承的方法 |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
字段详细信息 |
---|
public final int[] BITMAP
public final int STATEBARS
public final int HEALTHBAR
public final int MANABAR
public final int MENUBAR
public final int ACTIONBAR
public final int BAGBOARD
public final int CHARACTERBOARD
public final int MAPBOARD
public final int SPELLBOARD
public final int SYSTEMBOARD
public final int QUESTBOARD
public final int DIALOGUEBOARD
public final int[] PLAYER
public static final int[] CREATURE
public static final int[] GAMEOBJECT
public static final int[] ITEM
public static final int[] SPELL
构造方法详细信息 |
---|
public BitmapMgr(Resources res)
res
- Resources is from the application programActivity
方法详细信息 |
---|
public Bitmap setBitmap(int id)
id
- Res is the resources id in R
public Bitmap getBitmap(int id)
id
- Res is the resources id in R
public void releaseBitmap(int id)
id
- Res is the resources id in R
public Bitmap getPlayerBitmap(int id)
id
- Res is the resources id in R
public void releasePlayerBitmap(int id)
id
- Res is the resources id in R
public Bitmap getCreatureBitmap(int id)
id
- Res is the resources id in R
public void releaseCreatureBitmap(int id)
id
- Res is the resources id in R
public Bitmap getGameObjectBitmap(int id)
id
- Res is the resources id in R
public void releaseGameObjectBitmap(int id)
id
- Res is the resources id in R
public Bitmap getItemBitmap(int id)
id
- Res is the resources id in R
public void releaseItemBitmap(int id)
id
- Res is the resources id in R
public Bitmap getSpellBitmap(int id)
id
- Res is the resources id in R
public void releaseSpellBitmap(int id)
id
- Res is the resources id in R
public void release()
|
||||||||||
上一个类 下一个类 | 框架 无框架 | |||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |