C# Class DungeonMasterEngine.Player.Theron

Inheritance: PointOfViewCamera, IItem
显示文件 Open project: ggrrin/DungeonMaster Class Usage Examples

Public Properties

Property Type Description
partyGoup List

Public Methods

Method Description
AddChampoinToGroup ( Champion champion ) : bool
Draw ( BasicEffect effect ) : void
ExchangeItems ( IGrabableItem item ) : IGrabableItem
GetEnemy ( IEntity champoin ) : IEntity
PutToHand ( IGrabableItem item ) : void
TakeFromHand ( ) : IGrabableItem
Theron ( Tile location, Microsoft.Xna.Framework.Game game ) : System
ThrowOutItem ( uint distance ) : bool
Update ( GameTime time ) : void

Protected Methods

Method Description
CanMoveToTile ( Tile tile ) : bool
OnLocationChanged ( Tile oldLocation, Tile newLocation ) : void
OnLocationChanging ( Tile oldLocation, Tile newLocation ) : void
OnMapDirectionChanged ( MapDirection oldDirection, MapDirection newDirection ) : void

Private Methods

Method Description
CheckRoute ( uint distance ) : Tile
Fight ( ) : void
IItem ( GameTime gameTime ) : void
MovePartyToRight ( Tile newLocation ) : void
RotateParty ( MapDirection oldDirection, MapDirection newDirection ) : void

Method Details

AddChampoinToGroup() public method

public AddChampoinToGroup ( Champion champion ) : bool
champion DungeonMasterEngine.DungeonContent.Entity.Champion
return bool

CanMoveToTile() protected method

protected CanMoveToTile ( Tile tile ) : bool
tile Tile
return bool

Draw() public method

public Draw ( BasicEffect effect ) : void
effect Microsoft.Xna.Framework.Graphics.BasicEffect
return void

ExchangeItems() public method

public ExchangeItems ( IGrabableItem item ) : IGrabableItem
item IGrabableItem
return IGrabableItem

GetEnemy() public method

public GetEnemy ( IEntity champoin ) : IEntity
champoin IEntity
return IEntity

OnLocationChanged() protected method

protected OnLocationChanged ( Tile oldLocation, Tile newLocation ) : void
oldLocation Tile
newLocation Tile
return void

OnLocationChanging() protected method

protected OnLocationChanging ( Tile oldLocation, Tile newLocation ) : void
oldLocation Tile
newLocation Tile
return void

OnMapDirectionChanged() protected method

protected OnMapDirectionChanged ( MapDirection oldDirection, MapDirection newDirection ) : void
oldDirection DungeonMasterEngine.DungeonContent.MapDirection
newDirection DungeonMasterEngine.DungeonContent.MapDirection
return void

PutToHand() public method

public PutToHand ( IGrabableItem item ) : void
item IGrabableItem
return void

TakeFromHand() public method

public TakeFromHand ( ) : IGrabableItem
return IGrabableItem

Theron() public method

public Theron ( Tile location, Microsoft.Xna.Framework.Game game ) : System
location Tile
game Microsoft.Xna.Framework.Game
return System

ThrowOutItem() public method

public ThrowOutItem ( uint distance ) : bool
distance uint
return bool

Update() public method

public Update ( GameTime time ) : void
time Microsoft.Xna.Framework.GameTime
return void

Property Details

partyGoup public_oe property

public List partyGoup
return List