All Downloads are FREE. Search and download functionalities are using the official Maven repository.

simple.server.core.entity.PassiveEntity Maven / Gradle / Ivy

The newest version!

package simple.server.core.entity;

import marauroa.common.game.RPObject;

/**
 *
 * @author Javier A. Ortiz Bultrón 
 */
/**
 * An entity that doesn't move on it's own, but can be moved.
 */
public abstract class PassiveEntity extends Entity {

    /**
     * Create a passive entity.
     */
    public PassiveEntity() {
        put("resistance", 0);
    }

    /**
     * Create a passive entity.
     *
     * @param object
     *            The template object.
     */
    public PassiveEntity(final RPObject object) {
        super(object);
        put("resistance", 0);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy