C# Класс Project290.Screens.Shared.HypercubeNode

Used for representing a node in a hypercube.
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
Position Vector2

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

Метод Описание
HypercubeNode ( Vector2 position, Vector2 velocity, Rectangle bouncingBox ) : System

Initializes a new instance of the HypercubeNode class.

Set ( float x, float y ) : void

Sets the rectangle centers to the specified x, y.

Update ( ) : void

Updates this instance.

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

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

Initializes a new instance of the HypercubeNode class.
public HypercubeNode ( Vector2 position, Vector2 velocity, Rectangle bouncingBox ) : System
position Vector2 The position.
velocity Vector2 The velocity.
bouncingBox Microsoft.Xna.Framework.Rectangle The bouncing box.
Результат System

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

Sets the rectangle centers to the specified x, y.
public Set ( float x, float y ) : void
x float The x.
y float The y.
Результат void

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

Updates this instance.
public Update ( ) : void
Результат void

Описание свойств

Position публичное свойство

Gets the position of the node.
public Vector2 Position
Результат Vector2