C# Class Ether, evosim

Inheritance: MonoBehaviour
ファイルを表示 Open project: clomax/evosim Class Usage Examples

Public Properties

Property Type Description
container GameObject
energy double
instance Ether,
total_energy double

Public Methods

Method Description
enoughEnergy ( double n ) : bool
getEnergy ( ) : double
getFoodbitCount ( ) : int
getInstance ( ) : Ether,
newFoodbit ( Vector3 pos ) : void
removeFoodbit ( GameObject fb ) : void
subtractEnergy ( double n ) : void

Private Methods

Method Description
Start ( ) : void
fbSpawn ( ) : void

Method Details

enoughEnergy() public method

public enoughEnergy ( double n ) : bool
n double
return bool

getEnergy() public method

public getEnergy ( ) : double
return double

getFoodbitCount() public method

public getFoodbitCount ( ) : int
return int

getInstance() public static method

public static getInstance ( ) : Ether,
return Ether,

newFoodbit() public method

public newFoodbit ( Vector3 pos ) : void
pos Vector3
return void

removeFoodbit() public method

public removeFoodbit ( GameObject fb ) : void
fb GameObject
return void

subtractEnergy() public method

public subtractEnergy ( double n ) : void
n double
return void

Property Details

container public_oe static_oe property

public static GameObject container
return GameObject

energy public_oe property

public double energy
return double

instance public_oe static_oe property

public static Ether, instance
return Ether,

total_energy public_oe property

public double total_energy
return double