Class: Gamefic::Scene::Pause

Inherits:
Custom show all
Defined in:
lib/gamefic/scene/pause.rb

Overview

Pause for user input.

Instance Attribute Summary

Attributes inherited from Base

#actor, #input, #prompt, #type

Instance Method Summary collapse

Methods inherited from Base

#finish, #finished?, #flush, #initialize, #on_finish, on_start, #start, start_block, #state, subclass, #update

Constructor Details

This class inherits a constructor from Gamefic::Scene::Base

Instance Method Details

#post_initializeObject



6
7
8
9
# File 'lib/gamefic/scene/pause.rb', line 6

def post_initialize
  self.type = 'Pause'
  self.prompt = 'Press enter to continue...'
end