aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/me/bush/eventbuskotlin/Event.kt
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/kotlin/me/bush/eventbuskotlin/Event.kt')
-rw-r--r--src/main/kotlin/me/bush/eventbuskotlin/Event.kt8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main/kotlin/me/bush/eventbuskotlin/Event.kt b/src/main/kotlin/me/bush/eventbuskotlin/Event.kt
index 50f1131..6b96461 100644
--- a/src/main/kotlin/me/bush/eventbuskotlin/Event.kt
+++ b/src/main/kotlin/me/bush/eventbuskotlin/Event.kt
@@ -3,7 +3,7 @@ package me.bush.eventbuskotlin
/**
* A base class for events that can be cancelled.
*
- * [Information and examples](https://github.com/therealbush/eventbus-kotlin#ththingtodo)
+ * [Information and examples](https://github.com/therealbush/eventbus-kotlin#creating-an-event)
*
* @author bush
* @since 1.0.0
@@ -15,7 +15,7 @@ abstract class Event {
* [Listener.receiveCancelled] will receive it. However, it can be set back to
* `false`, and listeners will be able to receive it again.
*
- * [Information and examples](https://github.com/therealbush/eventbus-kotlin#tododothething)
+ * [Information and examples](https://github.com/therealbush/eventbus-kotlin#posting-an-event)
*/
var cancelled = false
set(value) {
@@ -25,14 +25,14 @@ abstract class Event {
/**
* Determines if this event can be [cancelled]. This does not have to return a constant value.
*
- * [Information and examples](https://github.com/therealbush/eventbus-kotlin#tododothething)
+ * [Information and examples](https://github.com/therealbush/eventbus-kotlin#creating-an-event)
*/
protected abstract val cancellable: Boolean
/**
* Sets [cancelled] to true.
*
- * [Information and examples](https://github.com/therealbush/eventbus-kotlin#tododothething)
+ * [Information and examples](https://github.com/therealbush/eventbus-kotlin#posting-an-event)
*/
fun cancel() {
cancelled = true