Skip to content

Commit 6ed3420

Browse files
committed
Fixed license link and more typos
1 parent ee72d52 commit 6ed3420

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

Readme.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,18 @@ Simple scene manager for lua.
33
Perfect to use for [Löve2D](https://love2d.org/) projects.
44

55
## Documentation
6-
The most important concept in scenman are `scene`. Scenes explain what should be compute and how to draw the result.
6+
The most important concept in sceneman are `scene`. Scenes explain what should be compute and how to draw the result.
77
**There is maximum one active scene at a time**. This is *always* true.
88

9-
First you will need to require scenman, it's simple:
9+
First you will need to require sceneman, it's simple:
1010
```lua
11-
local sceneman = require('scenman')
11+
local sceneman = require('sceneman')
1212
```
13-
You can now access the api trough the scenman table!
13+
You can now access the api trough the sceneman table!
1414

1515
First, you will need to create and register you scene:
1616
```lua
17-
-- Create and register in scenman a new scene
17+
-- Create and register in sceneman a new scene
1818
-- called 'menu'
1919
local menu = sceneman:new('menu')
2020
```
@@ -161,4 +161,4 @@ sceneman:draw(...)
161161
This project use [busted](http://olivinelabs.com/busted/) to run tests. Simply run the command `busted` at the root of the repo.
162162

163163
## License
164-
This repository use the [MIT license](https://github.com/loustak/scenman/blob/master/License).
164+
This repository use the [MIT license](https://github.com/loustak/sceneman/blob/master/License).

sceneman.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ function sceneman:quit(name, ...)
151151
local scene = self:get(name)
152152

153153
if scene == self.active then
154-
error('scenman: can\'t quit active scene')
154+
error('sceneman: can\'t quit active scene')
155155
end
156156

157157
if scene:isloaded() then

0 commit comments

Comments
 (0)