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

edu.cmu.sv.domain.smart_house.GUI.GUIRoomba Maven / Gradle / Ivy

Go to download

A library that allows rapid prototyping of dialog systems (language understanding, discourse modelling, dialog management, language generation).

There is a newer version: 0.7.0
Show newest version
package edu.cmu.sv.domain.smart_house.GUI;

import java.util.ArrayList;
import java.util.List;

public class GUIRoomba extends GUIElectronic {

	public GUIRoomba(String name, GUIRoom room, String correspondingURI) {
		super(name, room, true, correspondingURI);
	}
	
	@Override
	public List provideDetails() {
		List ans = new ArrayList<>();
		ans.add("Name: " + this.getName() + "\n");
		ans.add("Room: " + this.getRoom() + "\n");
        if(getState())
            ans.add("ON");
        else
            ans.add("OFF");
		return ans;
	}
	
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy