aboutsummaryrefslogtreecommitdiff
path: root/lua/pets/pet.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/pets/pet.lua')
-rw-r--r--lua/pets/pet.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/lua/pets/pet.lua b/lua/pets/pet.lua
index 30e3461..f1f04c3 100644
--- a/lua/pets/pet.lua
+++ b/lua/pets/pet.lua
@@ -2,6 +2,10 @@ local M = {}
M.Pet = {}
M.Pet.__index = M.Pet
+-- @param name the actual name for the pet
+-- @param type the species of the pet e.g. cat
+-- @param style the color/style of the pet e.g. brown
+-- @return a new Pet instance
function M.Pet.new(name, type, style)
local instance = setmetatable({}, M.Pet)
instance.name = name