Class: Vitals
- Inherits:
-
Object
- Object
- Vitals
- Defined in:
- models.rb
Class Method Summary (collapse)
-
+ (int) concentration
Concentration.
-
+ (int) fatigue
Fatigue.
-
+ (int) health
Health.
-
+ (int) spirit
Health.
Class Method Details
+ (int) concentration
Concentration
255 256 257 258 |
# File 'models.rb', line 255 def self.concentration $_api_socket.puts "GET CONCENTRATION\n" $_api_socket.gets('\0').chomp('\0').to_i end |
+ (int) fatigue
Fatigue
266 267 268 269 |
# File 'models.rb', line 266 def self.fatigue $_api_socket.puts "GET FATIGUE\n" $_api_socket.gets('\0').chomp('\0').to_i end |
+ (int) health
Health
244 245 246 247 |
# File 'models.rb', line 244 def self.health $_api_socket.puts "GET HEALTH\n" $_api_socket.gets('\0').chomp('\0').to_i end |
+ (int) spirit
Health
276 277 278 279 |
# File 'models.rb', line 276 def self.spirit $_api_socket.puts "GET SPIRIT\n" $_api_socket.gets('\0').chomp('\0').to_i end |