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
24#region IBadBoolean Members
25
27 bool IBadBoolean.Value => Value;
28
29#endregion
30
33 {
34 return s_Prototype;
35 }
36}
override BadClassPrototype GetPrototype()
Definition BadBoolean.cs:32
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:27
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