Aiutino..!
codice:public void setStanzaCorrente(Stanza stanzaCorrente) { this.stanzaCorrente = stanzaCorrente; }Perchè mi dice:codice:@Before public void setUp() throws Exception { this.partitaTest = new Partita(); this.atrio = new Stanza("Atrio"); this.biblioteca = new Stanza("Biblioteca"); this.partitaTest.getNuovoLabirinto().setStanzaVincente(atrio); this.partitaTest.getNuovoLabirinto().setStanzaCorrente(biblioteca); }
Stesso discorso perThe method setStanzaCorrente(Stanza) is undefined for the type Object
PartitaTest.java
codice:public Stanza getStanzaVincente() { return stanzaVincente; }
Grazie tante..


Rispondi quotando