C# Класс PathfindingTest.Selection.SelectRectangle

Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
Draw void
init void

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

Метод Описание
GetRectangle ( ) : Rectangle
Normalize ( Rectangle rect ) : Rectangle

Normalizes the rectangle, so it has positive widths and heights

SelectRectangle ( ) : System
SelectRectangle ( Rectangle rect ) : System
SetRectangle ( Rectangle rect ) : void

Sets the rectangle of the outer dimensions of the select rectangle

Приватные методы

Метод Описание
Draw ( SpriteBatch sb ) : void
init ( ) : void

Описание методов

GetRectangle() публичный Метод

public GetRectangle ( ) : Rectangle
Результат Microsoft.Xna.Framework.Rectangle

Normalize() публичный Метод

Normalizes the rectangle, so it has positive widths and heights
public Normalize ( Rectangle rect ) : Rectangle
rect Microsoft.Xna.Framework.Rectangle The rect to normalize
Результат Microsoft.Xna.Framework.Rectangle

SelectRectangle() публичный Метод

public SelectRectangle ( ) : System
Результат System

SelectRectangle() публичный Метод

public SelectRectangle ( Rectangle rect ) : System
rect Microsoft.Xna.Framework.Rectangle
Результат System

SetRectangle() публичный Метод

Sets the rectangle of the outer dimensions of the select rectangle
public SetRectangle ( Rectangle rect ) : void
rect Microsoft.Xna.Framework.Rectangle
Результат void