Midnight Blue Game and Engine
Public Member Functions | Properties | List of all members
MidnightBlue.StarSystem Class Reference

Represents an star system entity to be used in the galaxy view More...

Inheritance diagram for MidnightBlue.StarSystem:
Inheritance graph
Collaboration diagram for MidnightBlue.StarSystem:
Collaboration graph

Public Member Functions

 StarSystem ()
 Initializes a new instance of the T:MidnightBlue.StarSystem class. More...
 

Properties

Color Color [get, set]
 Gets or sets the color of the star rendered in the galaxy view. More...
 
Rectangle Bounds [get, set]
 Gets or sets the bounding rectangle of the star system in the galaxy view. More...
 
string Name [get, set]
 Gets or sets the name of the star system. More...
 
int Radius [get, set]
 Gets or sets the radius of the star at the center of the system. More...
 
bool Draw [get, set]
 Gets or sets a value indicating whether this T:MidnightBlue.StarSystem is drawn or not. More...
 
bool Scanned [get, set]
 Gets or sets a value indicating whether this T:MidnightBlue.StarSystem has been scanned by the player. More...
 
string PlanetList [get]
 Gets a string representation of the list of planets in the star system and all their information. More...
 
List< PlanetMetadataPlanets [get, set]
 Gets or sets the list of all planets. More...
 

Detailed Description

Represents an star system entity to be used in the galaxy view

Constructor & Destructor Documentation

§ StarSystem()

MidnightBlue.StarSystem.StarSystem ( )
inline

Initializes a new instance of the T:MidnightBlue.StarSystem class.

Property Documentation

§ Bounds

Rectangle MidnightBlue.StarSystem.Bounds
getset

Gets or sets the bounding rectangle of the star system in the galaxy view.

The bounds.

§ Color

Color MidnightBlue.StarSystem.Color
getset

Gets or sets the color of the star rendered in the galaxy view.

The color.

§ Draw

bool MidnightBlue.StarSystem.Draw
getset

Gets or sets a value indicating whether this T:MidnightBlue.StarSystem is drawn or not.

true if should be drawn; otherwise, false.

§ Name

string MidnightBlue.StarSystem.Name
getset

Gets or sets the name of the star system.

The name.

§ PlanetList

string MidnightBlue.StarSystem.PlanetList
get

Gets a string representation of the list of planets in the star system and all their information.

The planet list.

§ Planets

List<PlanetMetadata> MidnightBlue.StarSystem.Planets
getset

Gets or sets the list of all planets.

The planets.

§ Radius

int MidnightBlue.StarSystem.Radius
getset

Gets or sets the radius of the star at the center of the system.

The radius.

§ Scanned

bool MidnightBlue.StarSystem.Scanned
getset

Gets or sets a value indicating whether this T:MidnightBlue.StarSystem has been scanned by the player.

true if scanned; otherwise, false.


The documentation for this class was generated from the following file: