Jypeli
9
The simple game programming library
ComputerDevice.cs
Siirry tämän tiedoston dokumentaatioon.
1
namespace
Jypeli.Devices
2
{
3
public
class
ComputerDevice
:
Device
4
{
5
public
override
bool
IsMobileDevice
6
{
7
get
{
return
false
; }
8
}
9
10
public
override
bool
IsPhone
11
{
12
get
{
return
false
; }
13
}
14
15
public
ComputerDevice
()
16
{
17
// TODO: merge these into one class
18
19
this.
Storage
=
new
WindowsFileManager
(
WindowsLocation
.
DataPath
,
WindowsLocation
.
MyDocuments
);
20
21
//this.Storage = new LinuxFileManager();
22
23
}
24
}
25
}
Jypeli.WindowsLocation
Usein käytettyjä polkuja Windowsissa.
Definition:
WindowsFileManager.cs:145
Jypeli.Devices.Device.Storage
FileManager Storage
Tiedostojen säilytyspaikka.
Definition:
Device.cs:49
Jypeli.WindowsLocation.DataPath
static readonly string DataPath
Ohjelman data-alihakemisto.
Definition:
WindowsFileManager.cs:174
Jypeli.WindowsFileManager
Definition:
WindowsFileManager.cs:10
Jypeli.Devices.ComputerDevice.ComputerDevice
ComputerDevice()
Definition:
ComputerDevice.cs:15
Jypeli.Devices.ComputerDevice.IsPhone
override bool IsPhone
Definition:
ComputerDevice.cs:11
Jypeli.Devices.Device
Fyysinen laite.
Definition:
Device.cs:37
Jypeli.Devices
Definition:
ComputerDevice.cs:2
Jypeli.Devices.ComputerDevice
Definition:
ComputerDevice.cs:4
Jypeli.Devices.ComputerDevice.IsMobileDevice
override bool IsMobileDevice
Definition:
ComputerDevice.cs:6
Jypeli.WindowsLocation.MyDocuments
static readonly string MyDocuments
Omat tiedostot.
Definition:
WindowsFileManager.cs:149
Jypeli
Desktop
ComputerDevice.cs
Generoinut projektille Jypeli Sat Oct 17 2020 19:03:14
1.8.20