public class ChangeResource extends Effect
Modifier and Type | Field and Description |
---|---|
java.lang.String |
resource |
int |
resourceId |
int |
value |
is_kill_effect, is_stochastic, scoreChange
Constructor and Description |
---|
ChangeResource(InteractionContent cnt) |
Modifier and Type | Method and Description |
---|---|
void |
execute(VGDLSprite sprite1,
VGDLSprite sprite2,
Game game) |
parseParameters
public java.lang.String resource
public int resourceId
public int value
public ChangeResource(InteractionContent cnt)
public void execute(VGDLSprite sprite1, VGDLSprite sprite2, Game game)