SPS
- the generic typeS
- the generic typeIMG
- the generic typepublic interface Sprites<SPS extends Sprites<SPS,S,IMG>,S,IMG>
Modifier and Type | Method | Description |
---|---|---|
void |
clearSprites() |
Clear sprites.
|
boolean |
containsSprite(S aStatus) |
Contains sprite.
|
IMG |
getSprite(S aStatus) |
Gets the sprite.
|
boolean |
hasSprites() |
Checks for sprites.
|
IMG |
putSprite(org.refcodes.struct.Relation<S,IMG> aRelation) |
Put sprite.
|
IMG |
putSprite(S aStatus,
IMG aSprite) |
Put sprite.
|
IMG |
removeSprite(S aStatus) |
Removes the sprite.
|
int |
spriteCount() |
Sprite count.
|
Set<S> |
states() |
States.
|
Collection<IMG> |
values() |
Values.
|
SPS |
withSprite(org.refcodes.struct.Relation<S,IMG> aRelation) |
With sprite.
|
SPS |
withSprite(S aStatus,
IMG aSprite) |
With sprite.
|
SPS withSprite(org.refcodes.struct.Relation<S,IMG> aRelation)
aRelation
- the relationSPS withSprite(S aStatus, IMG aSprite)
aStatus
- the statusaSprite
- the spriteIMG removeSprite(S aStatus)
aStatus
- the statusvoid clearSprites()
boolean hasSprites()
int spriteCount()
Collection<IMG> values()
IMG getSprite(S aStatus)
aStatus
- the statusboolean containsSprite(S aStatus)
aStatus
- the statusIMG putSprite(org.refcodes.struct.Relation<S,IMG> aRelation)
aRelation
- the relationCopyright © 2021. All rights reserved.