BadScript 2
Loading...
Searching...
No Matches
BadBoolean.cs
Go to the documentation of this file.
2
7
11public class BadBoolean : BadNative<bool>, IBadBoolean
12{
17
22 public BadBoolean(bool value) : base(value) { }
23
25 bool IBadBoolean.Value => Value;
26
29 {
30 return s_Prototype;
31 }
32}
override BadClassPrototype GetPrototype()
Definition BadBoolean.cs:28
static readonly BadClassPrototype s_Prototype
The Prototype for the Native Boolean Object.
Definition BadBoolean.cs:16
BadBoolean(bool value)
Creates a new Native Boolean.
Definition BadBoolean.cs:22
bool IBadBoolean. Value
The Boolean Value.
Definition BadBoolean.cs:25
Implements a Class Prototype for the BadScript Language.
Helper Class that Builds a Native Class from a Prototype.
static BadClassPrototype GetNative(string name)
Returns a Native Class Prototype for the given Native Type.
Implements the Interface for Native Boolean.
Definition IBadBoolean.cs:7
Contains the Native Runtime Objects.
Definition BadBoolean.cs:6