Elin Decompiled Documentation EA 23.102 Nightly
All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Events Pages
Int3 Class Reference

Public Member Functions

 Int3 ()
 
 Int3 (int _x, int _y, int _z)
 
 Int3 (float _x, float _y, float _z)
 
void Set (int _x, int _y, int _z)
 
void Set (float _x, float _y, float _z)
 

Public Attributes

int[] i = new int[3]
 

Properties

int x [get, set]
 
int y [get, set]
 
int z [get, set]
 

Detailed Description

Definition at line 1 of file Int3.cs.

Constructor & Destructor Documentation

◆ Int3() [1/3]

Int3.Int3 ( )
inline

Definition at line 41 of file Int3.cs.

42 {
43 }

◆ Int3() [2/3]

Int3.Int3 ( int  _x,
int  _y,
int  _z 
)
inline

Definition at line 45 of file Int3.cs.

46 {
47 Set(_x, _y, _z);
48 }
void Set(int _x, int _y, int _z)
Definition: Int3.cs:55

References Set().

◆ Int3() [3/3]

Int3.Int3 ( float  _x,
float  _y,
float  _z 
)
inline

Definition at line 50 of file Int3.cs.

51 {
52 Set(_x, _y, _z);
53 }

References Set().

Member Function Documentation

◆ Set() [1/2]

void Int3.Set ( float  _x,
float  _y,
float  _z 
)
inline

Definition at line 62 of file Int3.cs.

63 {
64 i[0] = (int)_x;
65 i[1] = (int)_y;
66 i[2] = (int)_z;
67 }
int[] i
Definition: Int3.cs:3

References i.

◆ Set() [2/2]

void Int3.Set ( int  _x,
int  _y,
int  _z 
)
inline

Definition at line 55 of file Int3.cs.

56 {
57 i[0] = _x;
58 i[1] = _y;
59 i[2] = _z;
60 }

References i.

Referenced by Int3().

Member Data Documentation

◆ i

int [] Int3.i = new int[3]

Definition at line 3 of file Int3.cs.

Referenced by Set().

Property Documentation

◆ x

int Int3.x
getset

Definition at line 5 of file Int3.cs.

6 {
7 get
8 {
9 return i[0];
10 }
11 set
12 {
13 i[0] = value;
14 }
15 }

Referenced by BaseGameScreen.Focus().

◆ y

int Int3.y
getset

Definition at line 17 of file Int3.cs.

18 {
19 get
20 {
21 return i[1];
22 }
23 set
24 {
25 i[1] = value;
26 }
27 }

Referenced by BaseGameScreen.Focus().

◆ z

int Int3.z
getset

Definition at line 29 of file Int3.cs.

30 {
31 get
32 {
33 return i[2];
34 }
35 set
36 {
37 i[2] = value;
38 }
39 }

Referenced by BaseGameScreen.Focus().


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