Skip to content

Stationary Enemy

NebSeniah edited this page Jul 22, 2026 · 2 revisions

System Summary

Descriptive summary of what the system is and what it does.

The Stationary Enemy is immobile and has no behavior.


Connected Systems

List of connecting/parent/subsystems.

Connecting Systems:

Bugs

List of known bugs. Be descriptive but keep it brief!

  • None

Feature List / Breakdown of Features

List of features and descriptions within system.

Behavior:

  • Sits idle while facing the chosen direction.
  • Damages the player on contact.
  • Can be killed by jumping on top of it.

Important Variables

Name the most important variables, their type, and what their purpose is

  • isFacingRight : bool = Toggle for whether the stationary enemy faces right or left.
  • gravityEnabled : bool = Toggle for whether the stationary enemy has gravity applied to it.

Important Functions

Name of the most important functions, their parameters, and what they do.

  • func update_flipped(facingRight : bool = isFacingRight) -> void: Ensures the sprite faces left or right depending on either isFacingRight or an optional parameter.

Future Work / Risks

List and description of upcoming work/risks.

Future Work:

  1. None

Risks:

  • N/A

Miscellaneous Notes

A place for miscellaneous notes pertaining to this system.

  • N/A

Clone this wiki locally