6.170 Forum
August 16, 2006, 04:48:29 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Welcome to the 6.170 Forum.
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Properties class  (Read 87 times)
vkb
Newbie
*
Posts: 6


View Profile Email
« on: May 15, 2006, 04:13:27 PM »

How do you extract non-string objects/values from a Properties class?
For instance, how do we get the boolean timedGame from the gameProperties?
Logged
C. Scott Ananian (TA)
Administrator
Sr. Member
*****
Posts: 126


View Profile WWW Email
« Reply #1 on: May 15, 2006, 04:17:58 PM »

The Properties object only has String keys and String values.
Note that
http://antichess.csail.mit.edu/api/net/antichess/ai/AiPlayerFactory.html#PROPERTY_TIMED_GAME
specifies string values.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1 RC2 | SMF © 2001-2005, Lewis Media Valid XHTML 1.0! Valid CSS!