Show / Hide Table of Contents

Struct GameTime

Class representing a game time, contrary to real time

Inherited Members
ValueType.Equals(Object)
ValueType.GetHashCode()
ValueType.ToString()
Object.Equals(Object, Object)
Object.GetType()
Object.ReferenceEquals(Object, Object)
Namespace: Slipe.Shared.GameWorld
Assembly: SlipeShared.dll
Syntax
public struct GameTime

Constructors

| Improve this Doc View Source

GameTime(DateTime)

Create a game time from a datetime

Declaration
public GameTime(DateTime time)
Parameters
Type Name Description
DateTime time
| Improve this Doc View Source

GameTime(Int32, Int32)

Create a game time from hours and minutes

Declaration
public GameTime(int hour, int minute)
Parameters
Type Name Description
Int32 hour
Int32 minute

Properties

| Improve this Doc View Source

Hour

Declaration
public int Hour { readonly get; set; }
Property Value
Type Description
Int32
| Improve this Doc View Source

Minute

Declaration
public int Minute { readonly get; set; }
Property Value
Type Description
Int32
  • Improve this Doc
  • View Source
Back to top Generated by DocFX