Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Replaced imports with require's.
  • Loading branch information
muhuk committed Jan 7, 2015
1 parent ee20548 commit a965ab1
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 12 deletions.
@@ -1,7 +1,6 @@
(ns clecs-example-rougelike.entities
(:require [clecs.world :as w]
[clecs-example-rougelike.components :refer :all])
(:import [clecs_example_rougelike.components Location]))
[clecs-example-rougelike.components :refer :all]))


(def tagged-entities (atom {}))
Expand Down
Expand Up @@ -2,9 +2,12 @@
(:require [clecs.world :as w]
[clecs.component :refer [component-label]]
[lanterna.screen :as s]
[clecs-example-rougelike.components :refer [->MoveIntent ->TakeIntent]]
[clecs-example-rougelike.entities :refer [tagged-entities]])
(:import [clecs_example_rougelike.components MoveIntent Renderable TakeIntent]))
[clecs-example-rougelike.components :refer [->MoveIntent
->TakeIntent
MoveIntent
Renderable
TakeIntent]]
[clecs-example-rougelike.entities :refer [tagged-entities]]))


(defn- get-inputs! [inputs screen]
Expand Down
@@ -1,8 +1,10 @@
(ns clecs-example-rougelike.systems.move
(:require [clecs.component :refer [component-label]]
[clecs.world :as w]
[clecs-example-rougelike.components :refer [->Location]])
(:import [clecs_example_rougelike.components Location MoveIntent Walkable]))
[clecs-example-rougelike.components :refer [->Location
Location
MoveIntent
Walkable]]))


(declare q-movers q-walkables walkable?)
Expand Down
Expand Up @@ -4,8 +4,7 @@
[clecs.world :as w]
[clecs-example-rougelike.components :refer :all]
[clecs-example-rougelike.entities :refer [find-entities-at
tagged-entities]])
(:import [clecs_example_rougelike.components Inventory Location Name Renderable Takeable]))
tagged-entities]]))


(def min-height 20)
Expand Down
@@ -1,9 +1,11 @@
(ns clecs-example-rougelike.systems.take
(:require [clecs.component :refer [component-label]]
[clecs.world :as w]
[clecs-example-rougelike.components :refer [->Inventory]]
[clecs-example-rougelike.entities :refer [find-entities-at]])
(:import [clecs_example_rougelike.components Location Takeable TakeIntent]))
[clecs-example-rougelike.components :refer [->Inventory
Location
Takeable
TakeIntent]]
[clecs-example-rougelike.entities :refer [find-entities-at]]))


(declare q-takeable q-takers)
Expand Down

0 comments on commit a965ab1

Please sign in to comment.