/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.wordpress.salaboy.emergencyservice.worldui.slick.graphicable;
import org.newdawn.slick.Animation;
import org.newdawn.slick.geom.Polygon;
import com.wordpress.salaboy.model.Hospital;
/**
*
* @author salaboy
*/
public class GraphicableHighlightedHospital implements GraphicableHighlightedBuilding {
private Hospital hospital;
private Animation animation;
private Polygon polygon;
public GraphicableHighlightedHospital(Hospital hospital) {
this.hospital = hospital;
}
public Hospital getHospital() {
return hospital;
}
public void setHospital(Hospital hospital) {
this.hospital = hospital;
}
public void setAnimation(Animation animation) {
this.animation = animation;
}
public void setPolygon(Polygon polygon) {
this.polygon = polygon;
}
@Override
public Animation getAnimation() {
return this.animation;
}
@Override
public Polygon getPolygon() {
return this.polygon;
}
@Override
public String getName() {
return this.hospital.getName();
}
}