C# 클래스 AnimatedSprite.CrossHair

상속: Sprite
파일 보기 프로젝트 열기: itsligoGames/MonoGameTileSheetExample 1 사용 예제들

공개 메소드들

메소드 설명
CrossHair ( Vector2 userPosition, List cursor, int frameWidth, int frameHeight, float layerDepth ) : System
Draw ( SpriteBatch spriteBatch, Microsoft.Xna.Framework.Graphics.Texture2D tx ) : void
Update ( GameTime gametime ) : void

메소드 상세

CrossHair() 공개 메소드

public CrossHair ( Vector2 userPosition, List cursor, int frameWidth, int frameHeight, float layerDepth ) : System
userPosition Vector2
cursor List
frameWidth int
frameHeight int
layerDepth float
리턴 System

Draw() 공개 메소드

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

Update() 공개 메소드

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