C# Class SmashBros.Models.CharacterStats

Datei anzeigen Open project: Grutn/TDT4240-X2 Class Usage Examples

Public Properties

Property Type Description
a MoveStats
acceleration int
ani_noneStart int
animations string
gravity int
image string
jumpStartVelocity int
maxSpeed int
moveAnimations string
name string
size Vector2
sound_selected string
thumbnail string
weight int

Property Details

a public_oe property

The corresponding moves when the player presses A whilest holding the stick in some direction, and etc.
public MoveStats a
return MoveStats

acceleration public_oe property

Acceleration! WTF do you think it means.
public int acceleration
return int

ani_noneStart public_oe property

public int ani_noneStart
return int

animations public_oe property

Source to the picture that contains all frames regarding this character.
public string animations
return string

gravity public_oe property

A force that affects the character at all time. It can be negative or positiv, and it is only to vary the speed of different characters fall.
public int gravity
return int

image public_oe property

Image of the whole character
public string image
return string

jumpStartVelocity public_oe property

The hight of the characters jump.
public int jumpStartVelocity
return int

maxSpeed public_oe property

The maximum magnitude of speed in x-direction this character can have.
public int maxSpeed
return int

moveAnimations public_oe property

Assetname of the image that displays all the ranged moves bullets and their animations.
public string moveAnimations
return string

name public_oe property

Charactername.
public string name
return string

size public_oe property

The size of the characters boundbox.
public Vector2 size
return Vector2

sound_selected public_oe property

sounds to be played when (name)
public string sound_selected
return string

thumbnail public_oe property

thumbnail of character.
public string thumbnail
return string

weight public_oe 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