C# Класс MoodSwingCoreComponents.MS2DClickable

MS2DClickable is an MS2DCollidable that can be clicked (collides with) the Mouse
Наследование: MS2DCollidable
Показать файл Открыть проект

Открытые методы

Метод Описание
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