C# Класс MapEditor.Pathfinding.Node

Наследование: AStarCollisionMap.Pathfinding.PathfindingNode
Показать файл Открыть проект

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

Метод Описание
GetDrawRectangle ( ) : Rectangle
Node ( CollisionMap map, int x, int y, System.Boolean forceNodeCreation, GraphicsDevice adapter ) : System

Creates a node that doesn't make it's connections in the constructor.

Node ( CollisionMap map, int x, int y, GraphicsDevice adapter ) : System
ToString ( ) : String

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

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

Standard Draw function.

Init ( int x, int y ) : void

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

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

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

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

Creates a node that doesn't make it's connections in the constructor.
public Node ( CollisionMap map, int x, int y, System.Boolean forceNodeCreation, GraphicsDevice adapter ) : System
map AStarCollisionMap.Collision.CollisionMap
x int The X
y int The Y
forceNodeCreation System.Boolean Instantly creates connections. This param does nothing.
adapter GraphicsDevice
Результат System

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

public Node ( CollisionMap map, int x, int y, GraphicsDevice adapter ) : System
map AStarCollisionMap.Collision.CollisionMap
x int
y int
adapter GraphicsDevice
Результат System

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

public ToString ( ) : String
Результат String