first commit
This commit is contained in:
36
CS1322/p6/MyWay2/CIntelligence.java
Normal file
36
CS1322/p6/MyWay2/CIntelligence.java
Normal file
@@ -0,0 +1,36 @@
|
||||
/**
|
||||
* <PRE>
|
||||
* CIntelligence.java
|
||||
*
|
||||
* Revisions: 1.0 Nov. 13, 2002
|
||||
* Created the CIntelligence class
|
||||
* 1.1 Nov. 23, 3003
|
||||
* Created, Compiled, Finished
|
||||
*
|
||||
* </PRE>
|
||||
*
|
||||
* @author <A HREF="mailto:gtg184g@mail.gatech.edu">Jose Manuel Caban</A>
|
||||
* @version Version 1.1, Nov. 23, 2002
|
||||
*/
|
||||
|
||||
public abstract class CIntelligence implements Constants{
|
||||
/**
|
||||
*Holds who controls the Intelligence
|
||||
*/
|
||||
String type;
|
||||
|
||||
/**
|
||||
*Default Constructor, set type to CPU
|
||||
*/
|
||||
public CIntelligence(){
|
||||
type = "CPU";
|
||||
}
|
||||
|
||||
/**
|
||||
*@param, set type to this
|
||||
*/
|
||||
public CIntelligence(String type){
|
||||
this.type = type;
|
||||
}
|
||||
|
||||
}// end of class CIntelligence
|
||||
Reference in New Issue
Block a user