Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
SmashBros
Models
PowerUp
C# Class SmashBros.Models.PowerUp
Show file
Open project: Grutn/TDT4240-X2
Class Usage Examples
Public Properties
Property
Type
Description
acceleration
int
duration
int
imageFrame
int
jumpStartVelocity
int
maxSpeed
int
weight
int
Property Details
acceleration
public property
Acceleration! WTF do you think it means.
public
int
acceleration
return
int
duration
public property
The duration of the powerup. Countdown starts when some player is equipped with the powerup.
public
int
duration
return
int
imageFrame
public property
Which frame on the powerupsheet
public
int
imageFrame
return
int
jumpStartVelocity
public property
The hight of the characters jump.
public
int
jumpStartVelocity
return
int
maxSpeed
public property
The maximum magnitude of speed in x-direction this character can have.
public
int
maxSpeed
return
int
weight
public property
The weight of the character. Determines, along with players damagePoints, how far the character is pushed by some force.
public
int
weight
return
int