Delete OpCode3.scala

This commit is contained in:
kamoshi 2019-12-06 23:11:26 +01:00 committed by GitHub
parent 9a287157f2
commit 56edc706fc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,16 +0,0 @@
package day5.opcode
/** Input */
case object OpCode3 extends Action
{
/** length of an instruction */
override val length: Int = 2
/** Executes instruction for given parameters and modes */
override def exec(tape: Array[Int], param1: Int, param2: Int, param3: Int, mode1: Int, mode2: Int, mode3: Int): Unit =
{
println("<< input")
val userInput = scala.io.StdIn.readInt()
writer(param1, 0, tape, userInput)
}
}