package ui.model;

import classes.CpsEdge;

public class DecoratedCable {
	public enum CableState{
		Working, Burned
	}
	private CpsEdge model;
	private CableState state;
	private float flowEnergy;
	public DecoratedCable(CpsEdge edge, CableState state, float flowEnergy){
		this.model = edge;
		this.state = state;
		this.flowEnergy = flowEnergy;
	}
	public CpsEdge getModel() {
		return model;
	}
	public CableState getState() {
		return state;
	}
	public float getFlowEnergy() {
		return flowEnergy;
	}
}
