C# Class SmashBros.Models.MoveModel

Mostrar archivo Open project: Grutn/TDT4240-X2 Class Usage Examples

Public Properties

Property Type Description
Ended bool
Img ImageModel
PlayerIndexes List
Started bool
Stats MoveStats
Xdirection Vector2
attackTimeLeft float
chargeTime float

Public Methods

Method Description
MoveModel ( MoveStats stats, bool right, int playerIndex ) : System

Method Details

MoveModel() public method

public MoveModel ( MoveStats stats, bool right, int playerIndex ) : System
stats MoveStats
right bool
playerIndex int
return System

Property Details

Ended public_oe property

Whether the move have ended. Is currently needed by adjustable rangeattacks.
public bool Ended
return bool

Img public_oe property

The box that punches people on collision.
public ImageModel,SmashBros.Models Img
return ImageModel

PlayerIndexes public_oe property

The list of playerIndexen that have bin hit by this move.
public List PlayerIndexes
return List

Started public_oe property

Whether the movebox have bin created etc.
public bool Started
return bool

Stats public_oe property

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

Xdirection public_oe property

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

attackTimeLeft public_oe property

Time left to when move is over.
public float attackTimeLeft
return float

chargeTime public_oe property

How long the character has charged the attack.
public float chargeTime
return float