C# Class XNAGraphics.KernelBundle.PlayerBundle.Player

Inheritance: ISerializable
Mostra file Open project: joseruizjimenez/personal-training-martial-arts Class Usage Examples

Public Properties

Property Type Description
active System.Boolean
foto Microsoft.Xna.Framework.Graphics.Texture2D
foto_serializable List
id int
lista_Fechas List
lista_Resultados List

Public Methods

Method Description
GetObjectData ( SerializationInfo info, StreamingContext ctxt ) : void
Player ( SerializationInfo info, StreamingContext ctxt ) : System
Player ( int id, Microsoft.Xna.Framework.Graphics.Texture2D foto ) : System
getHistoric ( ) : string
getImageName ( ) : string
load ( Microsoft.Xna.Framework.Graphics.Texture2D texture ) : void
loadPlayer ( int id, Microsoft.Xna.Framework.Graphics.Texture2D foto ) : Player
save ( ) : void

Private Methods

Method Description
getSerializedPhoto ( ) : List
setSerializedPhoto ( List foto_serializable ) : Color[]

Method Details

GetObjectData() public method

public GetObjectData ( SerializationInfo info, StreamingContext ctxt ) : void
info System.Runtime.Serialization.SerializationInfo
ctxt System.Runtime.Serialization.StreamingContext
return void

Player() public method

public Player ( SerializationInfo info, StreamingContext ctxt ) : System
info System.Runtime.Serialization.SerializationInfo
ctxt System.Runtime.Serialization.StreamingContext
return System

Player() public method

public Player ( int id, Microsoft.Xna.Framework.Graphics.Texture2D foto ) : System
id int
foto Microsoft.Xna.Framework.Graphics.Texture2D
return System

getHistoric() public method

public getHistoric ( ) : string
return string

getImageName() public method

public getImageName ( ) : string
return string

load() public method

public load ( Microsoft.Xna.Framework.Graphics.Texture2D texture ) : void
texture Microsoft.Xna.Framework.Graphics.Texture2D
return void

loadPlayer() public static method

public static loadPlayer ( int id, Microsoft.Xna.Framework.Graphics.Texture2D foto ) : Player
id int
foto Microsoft.Xna.Framework.Graphics.Texture2D
return Player

save() public method

public save ( ) : void
return void

Property Details

active public_oe property

public Boolean,System active
return System.Boolean

foto public_oe property

public Texture2D,Microsoft.Xna.Framework.Graphics foto
return Microsoft.Xna.Framework.Graphics.Texture2D

foto_serializable public_oe property

public List foto_serializable
return List

id public_oe property

public int id
return int

lista_Fechas public_oe property

public List lista_Fechas
return List

lista_Resultados public_oe property

public List lista_Resultados
return List