package ecs.components;

import ecs.core.Component;

class HealthDisplay extends Component {
	public var offsetX:Int;
	public var offsetY:Int;
	public var size:Int;
	public var show:Bool = false;
	public var shownHealth:Float = 0;
	public var showTimer:Float = 0;
	public var timeToShow:Float = 1;
	public var height:Int;

	public function new(offsetX = 0, offsetY = -8, size = 10, height = 1) {
		super();

		this.offsetX = offsetX;
		this.offsetY = offsetY;
		this.size = size;
		this.height = height;
	}
}
