C# 클래스 AngryTanks.Client.Shot

상속: DynamicSprite
파일 보기 프로젝트 열기: dvicory/AngryTanks 1 사용 예제들

공개 메소드들

메소드 설명
AllocateSlot ( Shot>.Dictionary shots ) : Byte
Draw ( GameTime gameTime, SpriteBatch spriteBatch ) : void
End ( bool explode, bool sendEndShot ) : void
Shot ( AngryTanks.Client.World world, Player player, Byte slot, bool local, Vector2 initialPosition, System.Single rotation, Vector2 initialVelocity ) : System
Update ( GameTime gameTime ) : void

보호된 메소드들

메소드 설명
GetTexture ( AngryTanks.Client.World world, Player player ) : Microsoft.Xna.Framework.Graphics.Texture2D

메소드 상세

AllocateSlot() 공개 정적인 메소드

public static AllocateSlot ( Shot>.Dictionary shots ) : Byte
shots Shot>.Dictionary
리턴 Byte

Draw() 공개 메소드

public Draw ( GameTime gameTime, SpriteBatch spriteBatch ) : void
gameTime Microsoft.Xna.Framework.GameTime
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
리턴 void

End() 공개 메소드

public End ( bool explode, bool sendEndShot ) : void
explode bool
sendEndShot bool
리턴 void

GetTexture() 보호된 정적인 메소드

protected static GetTexture ( AngryTanks.Client.World world, Player player ) : Microsoft.Xna.Framework.Graphics.Texture2D
world AngryTanks.Client.World
player Player
리턴 Microsoft.Xna.Framework.Graphics.Texture2D

Shot() 공개 메소드

public Shot ( AngryTanks.Client.World world, Player player, Byte slot, bool local, Vector2 initialPosition, System.Single rotation, Vector2 initialVelocity ) : System
world AngryTanks.Client.World
player Player
slot Byte
local bool
initialPosition Vector2
rotation System.Single
initialVelocity Vector2
리턴 System

Update() 공개 메소드

public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
리턴 void