-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
54 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
Cendric Spielanleitung | ||
---------------------- | ||
Steuerung auf der Karte (Top-Down) | ||
- Laufen mit WASD oder Pfeiltasten | ||
- Interagieren (Sprechen, Lesen, Feuerstelle benutzen, etc.) mit E | ||
- Dialog-Optionen auswählen mit Pfeiltasten | ||
- Dialog-Option bestätigen mit Enter/Space oder E | ||
|
||
Steuerung im Level (Side-Scroller) | ||
- Laufen mit A und D oder Pfeiltasten | ||
- Angreifen (ausgewählter Zauber) mit linkem Mausklick oder mit F | ||
- Zauber auswählen mit 1-5 | ||
- Interagieren (Gegenstand aufnehmen, Lesen, Hebel umschalten, etc.) mit E | ||
- Aus dem Level gehen mit W oder Pfeiltaste gegen oben | ||
|
||
Steuerung auf der Oberfläche (Interface) | ||
- Inventar (Gegenstände ausrüsten) mit I | ||
- Mini-Karte mit M | ||
- Questlog/Tagebuch mit J | ||
- Charakter Info (Ruf, Statuswerte, Tipps) mit C | ||
- Zauberbuch (Zauber ausrüsten) mit K |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
include/Level/MOBBehavior/AttackingBehaviors/AllyVoidBehavior.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#pragma once | ||
|
||
#include "global.h" | ||
#include "Level/MOBBehavior/AttackingBehaviors/EnemyAttackingBehavior.h" | ||
|
||
// An ally that cannot attack at all | ||
class AllyVoidBehavior final : public EnemyAttackingBehavior { | ||
public: | ||
AllyVoidBehavior(Enemy* enemy); | ||
~AllyVoidBehavior() {}; | ||
|
||
sf::Color getConfiguredHealthColor() const override; | ||
|
||
void updateAggro() override; | ||
}; |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
src/Level/MOBBehavior/AttackingBehaviors/AllyVoidBehavior.cpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#include "Level/MOBBehavior/AttackingBehaviors/AllyVoidBehavior.h" | ||
|
||
AllyVoidBehavior::AllyVoidBehavior(Enemy* enemy) : | ||
AttackingBehavior(enemy), | ||
EnemyAttackingBehavior(enemy) { | ||
} | ||
|
||
sf::Color AllyVoidBehavior::getConfiguredHealthColor() const { | ||
return COLOR_GOOD; | ||
} | ||
|
||
void AllyVoidBehavior::updateAggro() { | ||
// nop | ||
} |