C# Class SmashBros.Models.MoveModel

Afficher le fichier Open project: Grutn/TDT4240-X2 Class Usage Examples

Méthodes publiques

Свойство Type Description
Ended bool
Img ImageModel
PlayerIndexes List
Started bool
Stats MoveStats
Xdirection Vector2
attackTimeLeft float
chargeTime float

Méthodes publiques

Méthode Description
MoveModel ( MoveStats stats, bool right, int playerIndex ) : System

Method Details

MoveModel() public méthode

public MoveModel ( MoveStats stats, bool right, int playerIndex ) : System
stats MoveStats
right bool
playerIndex int
Résultat System

Property Details

Ended public_oe property

Whether the move have ended. Is currently needed by adjustable rangeattacks.
public bool Ended
Résultat bool

Img public_oe property

The box that punches people on collision.
public ImageModel,SmashBros.Models Img
Résultat ImageModel

PlayerIndexes public_oe property

The list of playerIndexen that have bin hit by this move.
public List PlayerIndexes
Résultat List

Started public_oe property

Whether the movebox have bin created etc.
public bool Started
Résultat bool

Stats public_oe property

The move that has either begun, or that is in charging face.
public MoveStats Stats
Résultat MoveStats

Xdirection public_oe property

Whether the move is in positive or negative X direction. (either (1,1) or (-1,1)).
public Vector2 Xdirection
Résultat Vector2

attackTimeLeft public_oe property

Time left to when move is over.
public float attackTimeLeft
Résultat float

chargeTime public_oe property

How long the character has charged the attack.
public float chargeTime
Résultat float