C# Class PrinceGame.Sprite

ファイルを表示 Open project: salvadorc17/Prince-Monogame Class Usage Examples

Public Properties

Property Type Description
Bounds System.Drawing.Rectangle
Flip bool
Id int
Name string
RealPosition Point
Type Enumeration.SpriteType
X int
face SpriteEffects
flip SpriteEffects
sprite AnimationSequence
spriteState PlayerState
startFace SpriteEffects
startFlip SpriteEffects
startPosition System.Vector2

Protected Properties

Property Type Description
_position Position
_roomcord Point
graphicsDevice GraphicsDevice
localBounds System.Drawing.Rectangle
m_isOnGround bool
m_positionFall System.Vector2
m_spriteRoom RoomNew
m_velocity System.Vector2
spriteSequence List

Public Methods

Method Description
CheckCollision ( Position position__1 ) : bool
CheckOnRow ( Position position__1 ) : bool
DeadFall ( ) : void
DropDead ( ) : void
Fastheathe ( ) : void
Resheathe ( ) : void
Retreat ( ) : void
Splash ( bool player, GameTime gametime ) : void
Sprite ( ) : System
Sprite ( int id, Enumeration type, int x, int y ) : System
Strike ( ) : void
StrikeRetreat ( ) : void
isGround ( ) : void

Method Details

CheckCollision() public method

public CheckCollision ( Position position__1 ) : bool
position__1 Position
return bool

CheckOnRow() public method

public CheckOnRow ( Position position__1 ) : bool
position__1 Position
return bool

DeadFall() public method

public DeadFall ( ) : void
return void

DropDead() public method

public DropDead ( ) : void
return void

Fastheathe() public method

public Fastheathe ( ) : void
return void

Resheathe() public method

public Resheathe ( ) : void
return void

Retreat() public method

public Retreat ( ) : void
return void

Splash() public method

public Splash ( bool player, GameTime gametime ) : void
player bool
gametime GameTime
return void

Sprite() public method

public Sprite ( ) : System
return System

Sprite() public method

public Sprite ( int id, Enumeration type, int x, int y ) : System
id int
type Enumeration
x int
y int
return System

Strike() public method

public Strike ( ) : void
return void

StrikeRetreat() public method

public StrikeRetreat ( ) : void
return void

isGround() public method

public isGround ( ) : void
return void

Property Details

Bounds public_oe property

public Rectangle,System.Drawing Bounds
return System.Drawing.Rectangle

Flip public_oe property

public bool Flip
return bool

Id public_oe property

public int Id
return int

Name public_oe property

public string Name
return string

RealPosition public_oe property

public Point RealPosition
return Point

Type public_oe property

public Enumeration.SpriteType Type
return Enumeration.SpriteType

X public_oe property

public int X
return int

_position protected_oe property

protected Position,PrinceGame _position
return Position

_roomcord protected_oe property

protected Point _roomcord
return Point

face public_oe property

public SpriteEffects face
return SpriteEffects

flip public_oe property

public SpriteEffects flip
return SpriteEffects

graphicsDevice protected_oe property

protected GraphicsDevice graphicsDevice
return GraphicsDevice

localBounds protected_oe property

protected Rectangle,System.Drawing localBounds
return System.Drawing.Rectangle

m_isOnGround protected_oe property

protected bool m_isOnGround
return bool

m_positionFall protected_oe property

protected Vector2,System m_positionFall
return System.Vector2

m_spriteRoom protected_oe property

protected RoomNew,PrinceGame m_spriteRoom
return RoomNew

m_velocity protected_oe property

protected Vector2,System m_velocity
return System.Vector2

sprite public_oe property

public AnimationSequence,PrinceGame sprite
return AnimationSequence

spriteSequence protected_oe property

protected List spriteSequence
return List

spriteState public_oe property

public PlayerState,PrinceGame spriteState
return PlayerState

startFace public_oe property

public SpriteEffects startFace
return SpriteEffects

startFlip public_oe property

public SpriteEffects startFlip
return SpriteEffects

startPosition public_oe property

public Vector2,System startPosition
return System.Vector2