task 1.1
This commit is contained in:
parent
dc6c8b642c
commit
931e9b43e6
7
src/ch/hevs/isc/slopify_v2/Album.scala
Normal file
7
src/ch/hevs/isc/slopify_v2/Album.scala
Normal file
@ -0,0 +1,7 @@
|
||||
package ch.hevs.isc.slopify_v2
|
||||
|
||||
import scala.collection.mutable.ArrayBuffer
|
||||
|
||||
class Album(val name: String) {
|
||||
private var songs: ArrayBuffer[Song] = new ArrayBuffer()
|
||||
}
|
7
src/ch/hevs/isc/slopify_v2/Artist.scala
Normal file
7
src/ch/hevs/isc/slopify_v2/Artist.scala
Normal file
@ -0,0 +1,7 @@
|
||||
package ch.hevs.isc.slopify_v2
|
||||
|
||||
import scala.collection.mutable.ArrayBuffer
|
||||
|
||||
class Artist(val name: String) {
|
||||
private var albums: ArrayBuffer[Album] = new ArrayBuffer()
|
||||
}
|
7
src/ch/hevs/isc/slopify_v2/DataBase.scala
Normal file
7
src/ch/hevs/isc/slopify_v2/DataBase.scala
Normal file
@ -0,0 +1,7 @@
|
||||
package ch.hevs.isc.slopify_v2
|
||||
|
||||
import scala.collection.mutable.ArrayBuffer
|
||||
|
||||
class DataBase {
|
||||
private var artists: ArrayBuffer[Artist] = new ArrayBuffer()
|
||||
}
|
5
src/ch/hevs/isc/slopify_v2/Song.scala
Normal file
5
src/ch/hevs/isc/slopify_v2/Song.scala
Normal file
@ -0,0 +1,5 @@
|
||||
package ch.hevs.isc.slopify_v2
|
||||
|
||||
class Song(val title: String, val number: Int) {
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user