C# Class Ether, evosim

Inheritance: MonoBehaviour
Afficher le fichier Open project: clomax/evosim Class Usage Examples

Méthodes publiques

Свойство Type Description
container GameObject
energy double
instance Ether,
total_energy double

Méthodes publiques

Méthode 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

Méthode Description
Start ( ) : void
fbSpawn ( ) : void

Method Details

enoughEnergy() public méthode

public enoughEnergy ( double n ) : bool
n double
Résultat bool

getEnergy() public méthode

public getEnergy ( ) : double
Résultat double

getFoodbitCount() public méthode

public getFoodbitCount ( ) : int
Résultat int

getInstance() public static méthode

public static getInstance ( ) : Ether,
Résultat Ether,

newFoodbit() public méthode

public newFoodbit ( Vector3 pos ) : void
pos Vector3
Résultat void

removeFoodbit() public méthode

public removeFoodbit ( GameObject fb ) : void
fb GameObject
Résultat void

subtractEnergy() public méthode

public subtractEnergy ( double n ) : void
n double
Résultat void

Property Details

container public_oe static_oe property

public static GameObject container
Résultat GameObject

energy public_oe property

public double energy
Résultat double

instance public_oe static_oe property

public static Ether, instance
Résultat Ether,

total_energy public_oe property

public double total_energy
Résultat double