C# 클래스 MoodSwingCoreComponents.MS2DClickable

MS2DClickable is an MS2DCollidable that can be clicked (collides with) the Mouse
상속: MS2DCollidable
파일 보기 프로젝트 열기: verngutz/MoodSwing

공개 메소드들

메소드 설명
CollidesWithMouse ( ) : bool

Check whether the Mouse is currently over this MS2DClickable

MS2DClickable ( Rectangle boundingRectangle, Shape shape, SpriteBatch spriteBatch, Microsoft.Xna.Framework.Game game ) : System
MS2DClickable ( Vector2 position, Vector2 size, Shape shape, SpriteBatch spriteBatch, Microsoft.Xna.Framework.Game game ) : System

메소드 상세

CollidesWithMouse() 공개 메소드

Check whether the Mouse is currently over this MS2DClickable
public CollidesWithMouse ( ) : bool
리턴 bool

MS2DClickable() 공개 메소드

public MS2DClickable ( Rectangle boundingRectangle, Shape shape, SpriteBatch spriteBatch, Microsoft.Xna.Framework.Game game ) : System
boundingRectangle Microsoft.Xna.Framework.Rectangle
shape Shape
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
game Microsoft.Xna.Framework.Game
리턴 System

MS2DClickable() 공개 메소드

public MS2DClickable ( Vector2 position, Vector2 size, Shape shape, SpriteBatch spriteBatch, Microsoft.Xna.Framework.Game game ) : System
position Vector2
size Vector2
shape Shape
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
game Microsoft.Xna.Framework.Game
리턴 System