
uno.cod.battle.client.model.Spell Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-client Show documentation
Show all versions of java-client Show documentation
The Java client for the Coduno battle
The newest version!
package uno.cod.battle.client.model;
import org.codehaus.jackson.annotate.JsonIgnoreProperties;
import org.joda.time.DateTime;
/**
* Created by vbalan on 10/22/2015.
*/
@JsonIgnoreProperties(ignoreUnknown = true)
public class Spell {
private String name;
private Long cooldown;
private DateTime useTime;
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
/**
*
* @return the base cooldown in nanoseconds
*/
public Long getCooldown() {
return cooldown;
}
public void setCooldown(Long cooldown) {
this.cooldown = cooldown;
}
public DateTime getUseTime() {
return useTime;
}
public void setUseTime(DateTime useTime) {
this.useTime = useTime;
}
@Override
public String toString() {
return String.format("(name %s, cooldown %s, useTime %s)", name, cooldown, useTime);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy