|
| Gap (Rectangle rectangle) |
|
| Gap (Rectangle rect, Submarine submarine) |
|
| Gap (Rectangle rect, bool isHorizontal, Submarine submarine, bool isDiagonal=false, ushort id=Entity.NullEntityID) |
|
override MapEntity | Clone () |
|
override void | Move (Vector2 amount, bool ignoreContacts=true) |
|
override bool | IsMouseOn (Vector2 position) |
|
void | AutoOrient () |
|
override void | Update (float deltaTime, Camera cam) |
|
bool | RefreshOutsideCollider () |
|
override void | ShallowRemove () |
| Remove the entity from the entity list without removing links to other entities More...
|
|
override void | Remove () |
|
override void | OnMapLoaded () |
|
override XElement | Save (XElement parentElement) |
|
void | AddLinked (MapEntity entity) |
|
| MapEntity (MapEntityPrefab prefab, Submarine submarine, ushort id) |
|
void | ResolveLinks (IdRemap childRemap) |
|
bool | HasUpgrade (Identifier identifier) |
|
Upgrade | GetUpgrade (Identifier identifier) |
|
List< Upgrade > | GetUpgrades () |
|
void | SetUpgrade (Upgrade upgrade, bool createNetworkEvent=false) |
|
virtual bool | AddUpgrade (Upgrade upgrade, bool createNetworkEvent=false) |
| Adds a new upgrade to the item More...
|
|
override void | Remove () |
|
virtual void | FlipX (bool relativeToSub) |
| Flip the entity horizontally More...
|
|
virtual void | FlipY (bool relativeToSub) |
| Flip the entity vertically More...
|
|
virtual Quad2D | GetTransformedQuad () |
|
void | RemoveLinked (MapEntity e) |
|
HashSet< T > | GetLinkedEntities< T > (HashSet< T > list=null, int? maxDepth=null, Func< T, bool > filter=null) |
| Gets all linked entities of specific type. More...
|
|
| Entity (Submarine submarine, ushort id) |
|
void | FreeID () |
| Removes the entity from the entity dictionary and frees up the ID it was using. More...
|
|
|
static void | UpdateHulls () |
|
static Gap | FindAdjacent (IEnumerable< Gap > gaps, Vector2 worldPos, float allowedOrthogonalDist) |
|
static Gap | Load (ContentXElement element, Submarine submarine, IdRemap idRemap) |
|
static void | ClearHighlightedEntities () |
|
static List< MapEntity > | Clone (List< MapEntity > entitiesToClone) |
|
static void | UpdateAll (float deltaTime, Camera cam) |
| Call Update() on every object in Entity.list More...
|
|
static List< MapEntity > | LoadAll (Submarine submarine, XElement parentElement, string filePath, int idOffset) |
|
static void | MapLoaded (List< MapEntity > entities, bool updateHulls) |
|
static void | InitializeLoadedLinks (IEnumerable< MapEntity > entities) |
|
static IReadOnlyCollection< Entity > | GetEntities () |
|
static int | FindFreeIdBlock (int minBlockSize) |
| Finds a contiguous block of free IDs of at least the given size More...
|
|
static Entity | FindEntityByID (ushort ID) |
| Find an entity based on the ID More...
|
|
static void | RemoveAll () |
|
static void | DumpIds (int count, string filename) |
|
|
bool | IsHorizontal [get] |
|
bool | IsDiagonal [get] |
| "Diagonal" gaps are used on sloped walls to allow characters to pass through them either horizontally or vertically. Water still flows through them only horizontally or vertically More...
|
|
float | Open [get, set] |
|
float | Size [get] |
|
float | PressureDistributionSpeed [get] |
|
Door | ConnectedDoor [get, set] |
|
Vector2 | LerpedFlowForce [get] |
|
Hull | FlowTargetHull [get] |
|
bool | IsRoomToRoom [get] |
|
override Rectangle | Rect [get, set] |
|
override string | Name [get] |
|
Dictionary< Identifier, SerializableProperty > | SerializableProperties [get] |
|
string | DisallowedUpgrades [get, set] |
|
bool | FlippedX [get] |
|
bool | FlippedY [get] |
|
static IEnumerable< MapEntity > | HighlightedEntities [get] |
|
bool | ExternalHighlight [get, set] |
|
bool | IsHighlighted [get, set] |
|
virtual Rectangle | Rect [get, set] |
|
Rectangle? | WorldRect [get] |
|
virtual Sprite | Sprite [get] |
|
virtual bool | DrawBelowWater [get] |
|
virtual bool | DrawOverWater [get] |
|
virtual bool | Linkable [get] |
|
IEnumerable< Identifier > | AllowedLinks [get] |
|
bool | ResizeHorizontal [get] |
|
bool | ResizeVertical [get] |
|
int | RectWidth [get, set] |
|
int | RectHeight [get, set] |
|
bool | SpriteDepthOverrideIsSet [get] |
|
float | SpriteOverrideDepth [get] |
|
float? | SpriteDepth [get, set] |
|
virtual float | Scale = 1 [get, set] |
|
bool | HiddenInGame [get, set] |
|
override Vector2 | Position [get] |
|
override Vector2 | SimPosition [get] |
|
float | SoundRange [get, set] |
|
float | SightRange [get, set] |
|
bool | RemoveIfLinkedOutpostDoorInUse = true [get, protected set] |
|
string | Layer [get, set] |
|
virtual string | Name [get] |
|
static int | EntityCount [get] |
|
bool | Removed [get] |
|
bool | IdFreed [get] |
|
virtual Vector2 | SimPosition [get] |
|
virtual Vector2 | Position [get] |
|
virtual Vector2 | WorldPosition [get] |
|
virtual Vector2 | DrawPosition [get] |
|
Submarine | Submarine [get, set] |
|
AITarget | AiTarget [get] |
|
bool | InDetectable [get, set] |
|
double | SpawnTime [get] |
|
string | ErrorLine [get] |
|
Vector2 | Position [get] |
|
Vector2 | WorldPosition [get] |
|
Vector2 | SimPosition [get] |
|
Submarine | Submarine [get] |
|
string | Name [get] |
|
Dictionary< Identifier, SerializableProperty > | SerializableProperties [get] |
|
Definition at line 13 of file Gap.cs.