C# Class SmashBros.Views.CharacterView

Inheritance: Microsoft.Xna.Framework.Graphics.Sprite
Show file Open project: Grutn/TDT4240-X2 Class Usage Examples

Public Methods

Method Description
CharacterView ( Microsoft.Xna.Framework.Content.ContentManager content, string assetName, int frameWidth, int frameHeight, float xPos, float yPos, CharacterStats stats ) : System
StateChanged ( CharacterState oldState, CharacterState newState, MoveStats move ) : void

Method Details

CharacterView() public method

public CharacterView ( Microsoft.Xna.Framework.Content.ContentManager content, string assetName, int frameWidth, int frameHeight, float xPos, float yPos, CharacterStats stats ) : System
content Microsoft.Xna.Framework.Content.ContentManager
assetName string
frameWidth int
frameHeight int
xPos float
yPos float
stats SmashBros.Models.CharacterStats
return System

StateChanged() public method

public StateChanged ( CharacterState oldState, CharacterState newState, MoveStats move ) : void
oldState CharacterState
newState CharacterState
move MoveStats
return void