C# Class SmashBros.Models.CharacterStats

Show file 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 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 property

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

ani_noneStart public property

public int ani_noneStart
return int

animations public property

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

gravity public 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 property

Image of the whole character
public string image
return string

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

moveAnimations public property

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

name public property

Charactername.
public string name
return string

size public property

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

sound_selected public property

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

thumbnail public property

thumbnail of character.
public string thumbnail
return string

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