View difference between Paste ID: ZS3Qrvtt and 982bUwNU
SHOW: | | - or go back to the newest paste.
1
class RoboEngine
2
  
3
  def initialize
4
   puts "Initializing..."
5
   Init.action1
6
  end
7
  
8
end
9
10
class Initialization
11
  
12
  def action1
13
    sleep(1.0)
14-
    sleep(0.3)
14+
15
    delay0 = 2.3
16
    sleep(delay0)
17
    puts "Loading Thought Process..."
18
    ThoughtP.testforaccess
19-
Init = Initialization.new
19+
20
end
21-
#Needs the following to work.
21+
22
23-
Robo = RoboEngine.new 
23+
class ThoughtProcess
24
  def testforaccess
25-
#Finishes class
25+
    sleep(2.4)
26
    puts "Successfully loaded!"
27
  end
28
    
29
end
30
31
32
33
class Start
34
35
  def firstEncounter
36
    delay1 = 0.5
37
    puts "Oh..."
38
    sleep(delay1)
39
    puts "Hello there!"
40
    sleep(delay1)
41
    puts "I am the first version of the 'RoboSteve' series made by Paetilium "
42
    sleep(delay1)
43
    puts "Would you mind telling me your name?"
44
    sleep(delay1)
45
    user = gets
46
    sleep(delay1)
47
    puts "Ah, so your name is" +user
48
49
    end
50
51
  end
52
53
St = Start.new
54
ThoughtP = ThoughtProcess.new
55
RoboEngine.new
56
Init = Initialization.new