Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.robrua.orianna.type.core.staticdata;
 
 
 public class Info extends OriannaObject<com.robrua.orianna.type.dto.staticdata.Info> {
     private static final long serialVersionUID = -3808966746079805627L;

    

Parameters:
data the underlying dto
    public Info(final com.robrua.orianna.type.dto.staticdata.Info data) {
        super(datacom.robrua.orianna.type.dto.staticdata.Info.class);
    }

    
Attack

Returns:
attack
    public int getAttack() {
        return super.getInteger(.getAttack());
    }

    
Defense

Returns:
defense
    public int getDefense() {
        return super.getInteger(.getDefense());
    }

    
Diffculty

Returns:
difficulty
    public int getDifficulty() {
        return super.getInteger(.getDifficulty());
    }

    
Magic

Returns:
magic
    public int getMagic() {
        return super.getInteger(.getMagic());
    }
    /*
     * (non-Javadoc)
     * @see java.lang.Object#toString()
     */
    @Override
    public String toString() {
        return "Info (ATK: " + getAttack() + ", DEF: " + getDefense() + ", DIF: " + getDifficulty() + ", MAG: " + getMagic() + ")";
    }
New to GrepCode? Check out our FAQ X