From 56edc706fccb6b3da580d8c9c87eb51880ba5774 Mon Sep 17 00:00:00 2001 From: kamoshi <18511281+kamoshi@users.noreply.github.com> Date: Fri, 6 Dec 2019 23:11:26 +0100 Subject: [PATCH] Delete OpCode3.scala --- 2019/day5/opcode/OpCode3.scala | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 2019/day5/opcode/OpCode3.scala diff --git a/2019/day5/opcode/OpCode3.scala b/2019/day5/opcode/OpCode3.scala deleted file mode 100644 index f7cc2b5..0000000 --- a/2019/day5/opcode/OpCode3.scala +++ /dev/null @@ -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) - } -}