Class: Spielbash::MessageContext

Inherits:
ActionContext show all
Defined in:
lib/spielbash/model/action/message_context.rb

Instance Attribute Summary collapse

Attributes inherited from ActionContext

#base_context

Attributes inherited from Context

#height, #reading_delay_s, #typing_delay_s, #wait, #wait_check_cmd, #width

Instance Method Summary collapse

Methods inherited from ActionContext

#reading_delay_s, #typing_delay_s, #wait

Constructor Details

#initialize(base_context, typing_delay_s, reading_delay_s, wait, width, height, delete) ⇒ MessageContext

Returns a new instance of MessageContext.



5
6
7
8
# File 'lib/spielbash/model/action/message_context.rb', line 5

def initialize(base_context, typing_delay_s, reading_delay_s, wait, width, height, delete)
  super(base_context, typing_delay_s, reading_delay_s, wait, width, height)
  @delete = delete
end

Instance Attribute Details

#deleteObject

Returns the value of attribute delete.



3
4
5
# File 'lib/spielbash/model/action/message_context.rb', line 3

def delete
  @delete
end